-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Antonio Bonifati on 12/26/2008 8:37 AM: > Hi, > I'm using coreutils 6.12 and bash 3.2.048. I notice command line versions > of printf(1), both external (/usr/bin/printf) and internal (bash command) > do not support argument swapping as printf(3) does.
Thanks for the report. POSIX does not require printf(1) to support argument swapping: http://www.opengroup.org/onlinepubs/9699919799/utilities/printf.html So this is technically not a bug. However, if you would like to submit a patch that adds this as an extension, we will probably consider it for coreutils' printf. If you want the bash builtin to also make this improvement, then bring that to the attention of the bug-bash list. - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAklVGhUACgkQ84KuGfSFAYBOKwCeLwwwnPqSpFYBD2f1wXDKXaW5 WZAAnA0vdEmlZlJuoLX4qo+5D3T/Hzkl =iXq7 -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils