[Top][All Lists]

[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 10:09:54 +0200
User-agent: Mozilla-Thunderbird (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" ;-)


[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

reply via email to

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