Description
The purpose of this program was to take advantage of the _mmap_ system call to replace strings within given files.
The program _smear_ is invoked by:
“`
smear TARGET REPLACEMENT file1 {file 2….}
“`
For each of the named files, it searches for every instance of the string given by the first argument and replace it with the replacement string given by the
second argument. It is assumed that both the target and replacement strings are the same number of characters.
Custom Work, Just for You!
Can’t find the tutorial you need? No worries! We create custom, original work at affordable prices! We specialize in Computer Science, Software, Mechanical, and Electrical Engineering, as well as Health Sciences, Statistics, Discrete Math, Social Sciences, Law, and English.
Custom/Original Work Essays cost as low as $10 per page.
Programming Custom Work starts from $50.
Get top-quality help now!