Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: remove lines matching list of strings

by rootcho (Pilgrim)
on Nov 08, 2012 at 22:51 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1003014]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (2)
As of 2024-04-16 14:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found