From: | "Bo Ørsted Andresen" <bo.andresen@××××.dk> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] OT - grep: The -P option is not supported | ||
Date: | Wed, 25 Oct 2006 19:14:09 | ||
Message-Id: | 200610252104.57241.bo.andresen@zlin.dk | ||
In Reply to: | [gentoo-user] OT - grep: The -P option is not supported by Michael Sullivan |
1 | On Wednesday 25 October 2006 20:51, Michael Sullivan wrote: |
2 | [SNIP] |
3 | > cat * | grep -Po "\[\d+\.\d+\.\d+\.\d+\]" |
4 | |
5 | ;) |
6 | |
7 | http://www.ruhr.de/home/smallo/award.html |
8 | |
9 | > It worked fine right up until this afternoon. Now I get this: |
10 | > |
11 | > michael@bullet ~/spam $ cat * | grep -Po "\[\d+\.\d+\.\d+\.\d+\]" |
12 | > grep: The -P option is not supported |
13 | > michael@bullet ~/spam $ |
14 | [SNIP] |
15 | |
16 | My guess would be that you need to enable a pcre use flag for sys-apps/grep. |
17 | |
18 | -- |
19 | Bo Andresen |