7 Feb
2007
7 Feb
'07
23:30
Brian Jackson wrote:
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
I found the expression: .+LOG.+ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org