Hi, I was using expr in a script and I fond some weird thing.
Here goes the some examples that work and others that dont:
__________________________________________________________________________
expr --version
expr (GNU sh-utils) 2.0i
Written by Mike Parker.
expr $(01*10)
10
expr $(07*10)
70
expr $(08*10)
08: value too great for base (error token is "08")
expr $(10*10)
100
expr $(010*10)
80
__________________________________________________________________________
This is a bug or Im doing something wrong? IMHO, expr isnt deal very
well with expression beginned with '0'.
[]'s
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
Bug-sh-utils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-sh-utils