[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bash printf oddity; octal?



On 05/04/2014 03:57 PM, Asif Iqbal wrote:
> On Sun, May 4, 2014 at 4:54 PM, ~Stack~ <i.am.stack@gmail.com
> <mailto:i.am.stack@gmail.com>> wrote:
> 
>     That makes sense. But why does it only fail on 08 and 09? Shouldn't it
>     also fail on 01-06?
> 
> Isn't that obvious? Unless in your world, octal 6 is different than
> decimal 6 :-)

Oh duh. Yes. Yes it is obvious.

:-[ I was so focused on this one tiny little error causing so many
problems that I didn't actually stop and think about the problem as a
whole. Derp.

Thanks for the help, insight, and the laugh-out-loud-duh-moment. :-)

~Stack~




Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: