Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Grep'ping on Unix without perl-compatible gnu grep - can you do it better?

by Tommy (Chaplain)
on Feb 01, 2013 at 02:43 UTC ( #1016427=note: print w/replies, xml ) Need Help??


in reply to Re: Grep'ping on Unix without perl-compatible gnu grep - can you do it better?
in thread Grep'ping on Unix without perl-compatible gnu grep - can you do it better?

Very nice...except you still have to account for potential preceeding whitespace before the hashmark /^[[:space:]]{0,}#/

Tommy
A mistake can be valuable or costly, depending on how faithfully you pursue correction
  • Comment on Re^2: Grep'ping on Unix without perl-compatible gnu grep - can you do it better?
  • Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2016-10-01 01:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (574 votes). Check out past polls.