From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GcnvO-0000Pd-DF for garchives@archives.gentoo.org; Wed, 25 Oct 2006 18:56:26 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9PIrFUL028987; Wed, 25 Oct 2006 18:53:15 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9PIp6uw009365 for ; Wed, 25 Oct 2006 18:51:06 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 9D55864758 for ; Wed, 25 Oct 2006 18:51:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -1.983 X-Spam-Level: X-Spam-Status: No, score=-1.983 required=5.5 tests=[AWL=0.481, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZfcUc6q51uqk for ; Wed, 25 Oct 2006 18:50:53 +0000 (UTC) Received: from bullet.espersunited.com (adsl-70-234-122-249.dsl.tul2ok.sbcglobal.net [70.234.122.249]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 7821F6432D for ; Wed, 25 Oct 2006 18:50:49 +0000 (UTC) Received: from camille.espersunited.com (camille.espersunited.com [70.234.122.250]) by bullet.espersunited.com (8.13.7/8.13.7) with ESMTP id k9PIoaTx016597 for ; Wed, 25 Oct 2006 13:50:40 -0500 Subject: [gentoo-user] OT - grep: The -P option is not supported From: Michael Sullivan To: gentoo-user Content-Type: text/plain Date: Wed, 25 Oct 2006 13:51:22 -0500 Message-Id: <1161802282.12162.87.camel@camille.gateway.2wire.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 Content-Transfer-Encoding: 7bit X-Archives-Salt: 4709ad8b-6671-4946-b49a-325f47f798b8 X-Archives-Hash: 5f721244c74dec1539ed84fc4b3fa5e1 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: michael@bullet ~/spam $ cat * | grep -Po "\[\d+\.\d+\.\d+\.\d+\]" grep: The -P option is not supported michael@bullet ~/spam $ AFAIK, the only thing I've done between when it worked this morning and when it didn't this afternoon is started an emerge -ND world on bullet. Has anyone experienced this? Should it go away on its own after the emerge finishes, or is this functionality that has been phased out? What can I do about it otherwise? -- gentoo-user@gentoo.org mailing list