[K12OSN] text file search and replace tool from the commandline

Les Mikesell les at futuresource.com
Tue Aug 23 20:13:09 UTC 2005


On Tue, 2005-08-23 at 13:49, rmcdaniel at indata.us wrote:
> That sounds alot easier than "find and replace" in notepad.  I am glad
> that you figured out your samba problem.

For a single file, use :%s/find/replace/g
in vi, or sed -e 's/find/replace/g' <infile >outfile on
the command line.

-- 
  Les Mikesell
    les at futuresource.com





More information about the K12OSN mailing list