bug-coreutils
[Top][All Lists]
Advanced

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

coreutils-6.8 - error in expr


From: Vin Shelton
Subject: coreutils-6.8 - error in expr
Date: Mon, 11 Jun 2007 21:54:13 -0400

Greetings,

I believe I found a bug (or at least a change) in the behavior of expr
in coreutils-6.8.

Formerly this command:

expr 20x11-common_process-args : '[[:alnum:]_-]\+$'

returned the value 25.  As of coreutils-6.8, that command returns an
error:

/opt/bin/expr-broken 20x11-common_process-args : '[[:alnum:]_-]\+$'
/opt/bin/expr-broken: Unmatched [ or [^

In case you're interested, I detected this defect in the
/etc/X11/Xsession script, where `expr' is used to determine what
scripts to source.

Regards,
  Vin Shelton




reply via email to

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