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: Yunfeng Wang
Subject: Re: printf treats arguments of "%c" not as expected
Date: Thu, 23 Jun 2011 16:00:35 +0800

Thanks Jan, Greg's solution is great!

wyf

2011/6/23 Jan Schampera <jan.schampera@web.de>:
> 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]