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


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to