Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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
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 cooling their heels in the Monastery: (7)
As of 2014-11-27 15:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (186 votes), past polls