tag 733631 +wontfix
thanks

This has been documented on the interwebs and in print as a Good Thing (TM). http://docstore.mik.ua/orelly/unix3/korn/appb_08.htm To quote:


"Starting with ksh93m, the built-in arithmetic facility understands a large percentage of the C language's expressions. This makes the shell more attractive as a full-blown programming language. The following features are available:

..............

Octal and hexadecimal constants
You can use the C format for octal (base 8) and hexadecimal (base 16) constants. Octal constants start with a leading 0, and hexadecimal constants start with a leading 0x or 0X. For example:
$ print $((010 + 1))     Octal 10 is decimal 8
9
"

So I would suggest that this difference be taken into account when chossing between ksh93 and mksh.

Reply via email to