
On Sat, 12 Nov 2011, Matthew Cengia wrote:
On 2011-11-12 20:13, Tim Connors wrote:
On Fri, 11 Nov 2011, Trent W. Buck wrote:
printf '"%s"\n' "${xs[@]}" # example use thereof
Hah!
Where in the documentation does it specify that printf prints lines for each arg not sucked up by format strings, eg:
From the Bash manpage, in the printf section:
The format is reused as necessary to consume all of the arguments.
Alternatively, for /usr/bin/printf, 'info coreutils "printf invocation"' shows:
Fricking GNU and insisting on deprecating the perfectly usable man instead of the perfectly unusable info (and slightly less unusable pinfo). /rant (I didn't see it in the bash manpage, because I thought it would be safer to look at the printf manpage) -- Tim Connors