bug-sh-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in Expr 2.0.12 - .* too greedy


From: Derek Robert Price
Subject: Re: Bug in Expr 2.0.12 - .* too greedy
Date: Fri, 08 Nov 2002 15:55:04 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0

Jim Meyering wrote:

Derek Robert Price <address@hidden> wrote:
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:

Hi Derek,

Thanks for the report.
I get the expected (not buggy) results when
using the latest test release:

 ftp://alpha.gnu.org/gnu/fetish/coreutils-4.5.3.tar.gz

 $ expr 'abc
 > xxxxx
 > def' : 'abc
 > .*
 > def'
 13
 $ expr --vers
 expr (GNU coreutils) 4.5.3

So I guess you should encourage RH to upgrade.

Nope.  That doesn't appear to be the problem:

address@hidden coreutils-4.5.3]$ src/expr 'abc
xxxxx
def' : 'abc
> .*
> def'
0
address@hidden coreutils-4.5.3]$ src/expr --version
expr (GNU coreutils) 4.5.3
Written by Mike Parker.

Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
address@hidden coreutils-4.5.3]$

RedHat is blaming glibc version 2.2.93. What version of glibc do you have installed?

I ask because I'm trying to figure out if this is worth the hassle of upgrading glibc without RedHat's help or if I should be reporting this problem to the glibc mailing list.

Derek

--
               *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
--
If that plane leaves the ground and you're not with him, you'll regret it.
Maybe not today and maybe not tomorrow, but soon and for the rest of your life.

                - Humphrey Bogart as Rick, _Casablanca_







reply via email to

[Prev in Thread] Current Thread [Next in Thread]