[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gawk always prints 0 for a hexadecimal number printed using printf %
From: |
John Cowan |
Subject: |
Re: gawk always prints 0 for a hexadecimal number printed using printf %d |
Date: |
Thu, 6 Nov 2008 22:29:53 -0500 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Mahendra Ladhe scripsit:
> Thanks John for your clarification.
> Is it possible to consider this as an enhancement request,
> if it fits the overall philosophy and goals of awk?
It's a bad idea, since you can easily interpret 0xnnnn strings yourself.
Consider what would happen if "07028" (a U.S. postal code) were
interpreted as an octal value!
--
Here lies the Christian, John Cowan
judge, and poet Peter, http://www.ccil.org/~cowan
Who broke the laws of God address@hidden
and man and metre.