in reply to Re: Searching and Replacing file content within directory
in thread Searching and Replacing file content within directory
To emulate what perl's -i switch does, first rename each file with an extension like .orig, open that new file for reading, and write output to the original filename.
|
|---|