sed was made for that. there are lots of other tools that are more programming-oriented (awk, perl, python...); sed is simple and a bit cryptic but good to get to know.
John Greer wrote: > > I know that this is not Debian specific but I thought I would give it a > shot anyway. I need to search a series of files for a text string > (grep I know) and then I need to replace that string with another. Is > there a command or string of commands that I can do this in? If > this is possible it will make my life much easier!! Thanks > > John > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null -- David Coe mailto:[EMAIL PROTECTED] R & D and Support +1-410-489-9521 Overlord, Inc. http://www.overlord.com