Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA
Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdcrdcf!hplabs!hao!seismo!brl-tgr!tgr!chris@umcp-cs.uucp
From: chris@umcp-cs.uucp
Newsgroups: net.unix-wizards
Subject: Re: modification to /usr/src/lib/libc/vax/stdio/doprnt.s
Message-ID: <6528@brl-tgr.ARPA>
Date: Sun, 9-Dec-84 03:28:34 EST
Article-I.D.: brl-tgr.6528
Posted: Sun Dec  9 03:28:34 1984
Date-Received: Tue, 11-Dec-84 02:45:08 EST
Sender: news@brl-tgr.ARPA
Organization: Ballistic Research Lab
Lines: 15

Nice, but....  (There's always something to complain about! :-) )

The kernel printf already uses %b for its own purposes (which as
it happens might be nice to have in printf itself (but that's
another matter)).  I don't know what else one might use for binary
output -- maybe %@2 for base 2, then you can extend to any base
up to 9 with %@3, %@4,....  If you use hex you can get to base 15.

Anyone else have any favorite additions to printf?
-- 
(This line accidently left nonblank.)

In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (301) 454-7690
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris@umcp-cs		ARPA:	chris@maryland