|
From: | James Youngman |
Subject: | Re: [CRM114spam]: bug in printf bash command |
Date: | Sat, 21 Jul 2007 15:25:52 +0100 |
On 7/9/07, Dr. David Alan Gilbert <address@hidden> wrote:
Not-a-bug Numbers starting with a '0' are interpreted as Octal like in C; e.g. printf "%02i" 011 gets you 09.
Obviously, "Invalid octal number" would have been a more helpful error message. James.
[Prev in Thread] | Current Thread | [Next in Thread] |