expr applet bug?

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Fri Dec 8 19:13:35 UTC 2006


There seems to be a bug in expr (both 1.1.3 and svn):

  # ./busybox expr xyz0 : '[^0-9]\+\([0-9]\+\)'

returns 0 on stdout and an error code 1.

  # ./busybox expr xyz1 : '[^0-9]\+\([0-9]\+\)'

returns 1 on stdout and an error code 0.


Cheers,
Cristian



More information about the busybox mailing list