|
From: | Derek Robert Price |
Subject: | Re: Bug in Expr 2.0.12 - .* too greedy |
Date: | Fri, 08 Nov 2002 17:03:47 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 |
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. twaugh@redhat.com 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: derek@ximbiot.com Get CVS support at <http://ximbiot.com>! -- "If I was modest, I'd be perfect." -Ted Turner
[Prev in Thread] | Current Thread | [Next in Thread] |