|
From: | Jan Schampera |
Subject: | Re: printf treats arguments of "%c" not as expected |
Date: | Thu, 23 Jun 2011 10:09:54 +0200 |
User-agent: | Mozilla-Thunderbird 2.0.0.24 (X11/20100329) |
Yunfeng Wang wrote:
Perhaps bash should clarify this issue in its documents such that users like me would not be misguided again.
Since the reference to printf(3) is misleading sometimes, I made some document [1] for Bash's printf only. It's far from perfect, but at least it mentions %s and "first character" ;-)
Jan [1] http://wiki.bash-hackers.org/commands/builtin/printf -- Be conservative in what you do, be liberal in what you accept from others. - jbp, master of the net, in RFC793
[Prev in Thread] | Current Thread | [Next in Thread] |