On Wednesday 07 February 2007 15:19, Jan Karjalainen wrote: > I'm trying to parse through a file and delete all the lines with the > word "LOG" on it, eg. replace it with "".
That's not the same thing as finding all lines with LOG. perl -pi -e 's/LOG//' [filename] (hey, wasn't this a thread last week? :-D) Wait, delete all lines with LOG or replace the string 'LOG' with ''? 2 different tasks. brian -- Brian Jackson Photo Sports ~ People ~ Events http://www.BrianJacksonPhoto.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
