RTFM
man sed
On 13-May-2002 Paul wrote:
Hi Folks
I am in need of some help - I have a large number of small text files that need to be scanned and one specific phrase replaced at each occurrence excluding the first line (which may or may not contain the offending words). I suspect that something like perl may be the most suitable tool for the task in hand. But I know nothing about it.... Just to add to the problem, the files are scattered across multiple directories and the key phrase may span two lines.
Regards, Paul.
main@lists.alug.org.uk http://www.anglian.lug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!