Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: grep -P

by ambrus (Abbot)
on Jun 25, 2006 at 19:58 UTC ( #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

    $ 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.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (2)
As of 2023-09-26 22:15 GMT
Find Nodes?
    Voting Booth?

    No recent polls found