bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printf treats arguments of "%c" not as expected


From: Jan Schampera
Subject: Re: printf treats arguments of "%c" not as expected
Date: Thu, 23 Jun 2011 09:12:40 +0200
User-agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100329)

Hi,


I agree this is not a bug. %c works as described.

However, Mr. Wang may want to read one of Greg's brilliant FAQ entries [1].

In general it's a bit of a pity that printf can do character->number conversion, but not (directly) back. But it is like it is and the "workarounds" are not really complicated.


Jan


[1] http://mywiki.wooledge.org/BashFAQ/071

--
Be conservative in what you do, be liberal in what you accept from others.
- jbp, master of the net, in RFC793




reply via email to

[Prev in Thread] Current Thread [Next in Thread]