Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!aramis.rutgers.edu!topaz.rutgers.edu!busboys.rutgers.edu!gaynor From: gaynor@busboys.rutgers.edu (Silver) Newsgroups: comp.lang.c Subject: Re: printf format Message-ID: Date: 21 Dec 89 06:20:24 GMT References: <5761@ozdaltx.UUCP> <987@nsi.UUCP> <1940@crdos1.crd.ge.COM> <479@bbxsda.UUCP> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 9 Adding numeric formatting to printf is not difficult, once the method behind printf's madness is divined (there was more madness than method in the printf I played with). Added cute things like the comma ability, filling with a character other than blank, dollar signs, arbitrary radixes < z, etc. Don't ask me for the code, I don't have access to it, sorry. I'd hunt down a pd printf (uunet.uu.net, probably) and redo it, but I'm a little busy at the moment. Regards, [Ag]