[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible bug with egrep and -o option
From: |
Benno Schulenberg |
Subject: |
Re: Possible bug with egrep and -o option |
Date: |
Mon, 20 Nov 2006 00:11:48 +0100 |
User-agent: |
KMail/1.9.5 |
Joseph Hesse wrote:
> Please try:
> $ echo 'xaax' | egrep -o 'a*'
$ echo 'xaax' | src/egrep -o 'a*'
aa
It has been fixed in CVS.
> If you try:
> $ echo 'xaax' | egrep -o 'a{2}'
$ echo 'xaax' | src/egrep -o 'a{2}'
aa
You were not mistaken, it is an error in grep-2.5.1, but has been
fixed in CVS a long time ago. We are just awaiting a release of
this an other fixes as grep-2.5.2. Thanks for reporting.
Benno