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

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

by Tommy (Chaplain)
on Feb 01, 2013 at 02:15 UTC ( [id://1016422]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    [[ "$( cat filename | perl -e 'print for grep { /^[[:space:]]{0,}#.+?f
    +oo/ } <>' )" != "" ]] && found_but_commented=1;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-25 06:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found