Derek Robert Price <[EMAIL PROTECTED]> 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


_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs

Reply via email to