[gentoo-user] OT - grep: The -P option is not supported

2006-10-25 Thread Michael Sullivan
I have a script I wrote a couple of weeks ago. Part of the script scans email files and returns IP addresses found in them. I did this with this command: cat * | grep -Po \[\d+\.\d+\.\d+\.\d+\] It worked fine right up until this afternoon. Now I get this: [EMAIL PROTECTED] ~/spam $ cat * |

Re: [gentoo-user] OT - grep: The -P option is not supported

2006-10-25 Thread kashani
Michael Sullivan wrote: I have a script I wrote a couple of weeks ago. Part of the script scans email files and returns IP addresses found in them. I did this with this command: cat * | grep -Po \[\d+\.\d+\.\d+\.\d+\] It worked fine right up until this afternoon. Now I get this: [EMAIL

Re: [gentoo-user] OT - grep: The -P option is not supported

2006-10-25 Thread Bo Ørsted Andresen
On Wednesday 25 October 2006 20:51, Michael Sullivan wrote: [SNIP] cat * | grep -Po \[\d+\.\d+\.\d+\.\d+\] ;) http://www.ruhr.de/home/smallo/award.html It worked fine right up until this afternoon. Now I get this: [EMAIL PROTECTED] ~/spam $ cat * | grep -Po \[\d+\.\d+\.\d+\.\d+\] grep: