From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <6786cb2c3839f91e170e726ac4ac0805@plan9.bell-labs.com> Subject: Re: [9fans] factotum apop protocol is incorrect From: David Presotto To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Fri, 12 Dec 2003 22:55:30 -0500 Topicbox-Message-UUID: a1192712-eacc-11e9-9e20-41e7f4b1d025 From: Dan Cross David Presotto writes: > I really dinna want to change %H. The logical thing there would be to > have a %h and a %H but little 'h' is already taken as a flag. > > I'll just fix apop with your suggestion. Many of the format specifiers in print(2) already can already be modified by flags; case in point: what 'h' does to %d. How about adding a flag to %H that forces it to use a lowercase map, instead of an undercase map? - Dan C. OK, %lH now means lower case hexdump. %luhs means print out correct spelling of the string pointed to by the argument.