Subject: Re: printf(1) argument doesn't accept hexadecimal
To: None <netbsd-help@netbsd.org>
From: Wolfgang Rupprecht <wolfgang+gnus20010720T125601@wsrcc.com>
List: netbsd-help
Date: 07/20/2001 12:58:42
> Moral of the story: don't use bash ;) printf(1) accepts hex, but bash's
> builtin printf doesn't.

    $ help
    GNU bash, version 2.05.0(1)-release (i386--netbsd)
    ...
    $ builtin printf "%d\n" 0xC0
    192

-wolfgang
-- 
       Wolfgang Rupprecht <wolfgang+gnus@dailyplanet.wsrcc.com>
		    http://www.wsrcc.com/wolfgang/
Coming soon: GPS mapping tools for Open Systems. http://www.gnomad-mapping.com/