sed can do the trick sed -e 's/foo/bar/g' file.txt > new_file.txt
the above command will replace all the existence of foo with bar on file.txt and will redirect the modified output to new_file.txt Hope This Helps -jon- On 11/15/05, Che Sosa <[EMAIL PROTECTED]> wrote: > Mabuhay PLUG members, > > I have a problem of parsing text. What I want is to parse certain > sequences from hundreds of files and replace them with a certain > pattern of text. > > Is this doable with sh? What tools/programming languages is suitable for this? _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

