Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: remove lines matching list of strings

by rootcho (Pilgrim)
on Nov 08, 2012 at 22:51 UTC ( #1003014=note: print w/replies, xml ) Need Help??


in reply to Re: remove lines matching list of strings
in thread remove lines matching list of strings

Yes, I was thinking in the same line... if done in perl using hash seem to be better than building giant regex.
Heh...didn't know about -F option.. will check it out
thanks
  • Comment on Re^2: remove lines matching list of strings

Replies are listed 'Best First'.
Re^3: remove lines matching list of strings
by TomDLux (Vicar) on Nov 09, 2012 at 14:17 UTC

    Neither did I, but I scanned through man grep to make sure I was doing things right. I did have a vague recollection there was an option to search for strings rather than regex ... it helps if you know to search for something.

    As Occam said: Entia non sunt multiplicanda praeter necessitatem.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003014]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2016-09-27 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (516 votes). Check out past polls.