Help me with grep, pls...
Hi All!
I have a problem I thought I could solve with grep.
Here it is:
I'm working on a software which creates mass of logs and I need to catch some lines.
No.1 : I need to catch every line which contains the string 'http://' OR the string 'DEBUG'
No.2 : I need to catch every line which contains the string 'ftp://' AND 'DEBUG'
So I need to use logical expressions.
Please help me whith this.
Any ideas would be appreciated.
Thanx.
|