[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: find & replace?



> Subject: find & replace?
> 
> 
>         Hi, is there a console utility to find and replace in a file?
> Preferably on which can find & replace from a bunch of files 
> as passed by 'ls'
> or something?
> Thanks,
> Timothy
> 

The sed stream editor is the tool to use.  To give it the list of files
to
process requires some shell knowledge and a little additional
information
from you.  Do you want each processed file to be concatenated on stdout
or should each file be saved as an individual processed file?  And which
shell are you using?

---
Bob McGowan
i'm:  bob dot mcgowan at artecon dot com


Reply to: