On Mon, Mar 24, 2003 at 04:18:59PM -0500, Dan Espen wrote: > Command Result in /bin/ksh Result in /usr/xpg4/bin/sh > echo $((010+10 )) 20 18 > echo $((010+10 )) 29 error > [ 10 -le $((011)) ] true false > > > Which doesn't make a lot of sense since the first 2 examples are the > same, but I don't think the difference caused the error message > originally reported.
I'm guessing that's a typo and that the second command should read: echo $((019+10 )) The output makes sense in that case. I guess like perl, 0-prefixing in XPG4 shell is supposed to be octal. I have no idea what this thread is about. I just like making fun of /usr/xpg4 on Solaris... -- [EMAIL PROTECTED] http://www.mikehan.com/ coffee achiever San Francisco, California "If you lend me some money, it'll be my treat." -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]