Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: remove lines with exact match only (OT)

by LanX (Saint)
on Apr 04, 2016 at 19:09 UTC ( [id://1159544]=note: print w/replies, xml ) Need Help??


in reply to remove lines with exact match only

In Perl regex you can mark ("anchor") beginning and end of line with ^ and $.

But the (badly formated) code you show doesn't look like perl

Update

Fgrep has nothing in common with perl, marked Off Topic

Maybe have a look at Re: perl grep clone (CLI & perlrun) if you want to filter in a pipe using perl

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

  • Comment on Re: remove lines with exact match only (OT)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-24 19:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found