printf bad ?

Peter plp-ysDPMY98cNQDDBjDh4tngg at public.gmane.org
Fri Mar 18 22:23:49 UTC 2005



On Fri, 18 Mar 2005, Lennart Sorensen wrote:

> The way you do numbers on unix is this:
> If it starts with 1-9 it is decimal.  If it starts with 0x it is hex,
> otherwise if it starts with 0 it is octal.  Since 08 isn't valid octal
> it should complain about it.

So decimal guys lose when working with the shell ? ;-)

thanks,
Peter
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list