bug-cvs
[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: Jim Meyering
Subject: Re: Bug in Expr 2.0.12 - .* too greedy
Date: Fri, 08 Nov 2002 20:07:23 +0100

Derek Robert Price <derek@ximbiot.com> 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.

> How reproducible:
> Always
>
> Steps to Reproduce:
> $ expr 'abc
> xxxxx
> def' : 'abc
> .*
> def'
>
> Actual Results:  0
>
> Expected Results:  13




reply via email to

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