Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: grep -P

by ambrus (Abbot)
on Jun 25, 2006 at 19:58 UTC ( [id://557465]=note: print w/replies, xml ) Need Help??


in reply to grep -P

It uses an external library called pcre, and I think the feature is not always compiled in grep.

If you want to use real perl expressions with grep, an alternative to gnu grep is to use one of the several grep clones implemented in perl, such as mine.

Replies are listed 'Best First'.
Re^2: grep -P
by tomazos (Deacon) on Jun 25, 2006 at 21:25 UTC
    Interesting...

    $ apt-cache search pcre libpcre3 - Perl 5 Compatible Regular Expression Library - runtime file +s libpcre3-dev - Perl 5 Compatible Regular Expression Library - developm +ent files libpcrecpp0 - Perl 5 Compatible Regular Expression Library - C++ runti +me files pcregrep - grep utility that uses perl 5 compatible regexes. pgrep - Dummy package for transition to pcregrep

    I suppose pcregrep or pgrep might somehow help.

    -Andrew.

Log In?
Username:
Password:

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

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

    No recent polls found