Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 chilling in the Monastery: (10)
As of 2015-07-06 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (74 votes), past polls