bug-sh-utils
[Top][All Lists]
Advanced

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

Bug in expr??


From: Adriano Freitas
Subject: Bug in expr??
Date: Fri, 03 Nov 2000 13:01:03 -0200

        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




reply via email to

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