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


Reply via email to