Re: Bug in Expr 2.0.12 - .* too greedy
Derek Robert Price <[email protected]> Fri, 08 Nov 2002 17:03:47 -0500
| Newsgroups | gmane.comp.version-control.cvs.bugs,gmane.comp.gnu.sh-utils.bugs |
|---|---|
| Organization | Ximbiot <http://ximbiot.com> |
| Message-ID | <[email protected]> |
Larry Jones wrote: >Derek Robert Price writes: > > >>The expr, version 2.0.12, which happens to be distributed with RH Linux >>8.0 is broken. .* is way too greedy. Here's a test case: >> >> > >FWIW, the oldest 2.0.x I can find is 2.0.13 and it seems to work >correctly, so I'm guessing the bug didn't last long. RH just picked >an unfortunate version to distribute. > > Actually, I can duplicate the bug on my machine with the 4.5.3 that Jim Meyering suggested. I think the bug is in glibc 2.2.93. [email protected] at RedHat tells me that expr uses the GNU regex library. I'm looking into that now. With any luck, someone at RedHat is looking into it too. :) Derek -- *8^) Email: [email protected] Get CVS support at <http://ximbiot.com>! -- "If I was modest, I'd be perfect." -Ted Turner