On Thu, 19 Jun 2003, sjb wrote:
kieran.swanepoel@za.didata.com wrote:
awk "BEGIN {print 051;}" outputs 41.
Does anyone know why ?
because you're printing an octal value in decimal?
To clarify that 051 in octal = 0x64 + 5x8 + 1 = 0 + 40 + 1 = 41 [showing off little knowledge, that is all that is there to me :-(] -- Rohit ********************************************************* Disclaimer This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. ********************************************************* Visit us at http://www.mahindrabt.com