On 02/21/2012 12:19 PM, Charles Wilson wrote: > > ====== xp-64 ======== > $ printf "'%s'\n'%s'\n'%s'\n'%s'\n'%s'\n'%s'\n" "$TEMP" "$TMP" "$TMPDIR"
Side note: You know, POSIX requires (and cygwin supports) a shorthand form of this: printf "'%s'\n" "$TEMP" "TMP" "$TMPDIR" That is, if you provide more arguments to printf than % specifiers, then it wraps and reapplies the format string to the remaining arguments. -- Eric Blake ebl...@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature