-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Eric Blake on 10/29/2008 6:22 AM: >>> - ( :; $1 ) >"$at_stdout" 2>"$at_stderr" >>> + : >"$at_stderr" >>> + ( :; $1 ) >>"$at_stdout" 2>>"$at_stderr" >> What's the ":;" for? > > A workaround to the bash 3.2 bug, fixed in bash32-030, where failure to > use :; prior to a compound command (except for a subshell) meant that bash > incorrectly returns status 0 if redirection fails.
Sorry; I thought it was a different use of :;. In this case, it is a workaround to the case where the m4 argument $1 is empty or only whitespace, and is necessary so that the shell code formed is valid (a subshell must contain a command list). - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----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 iEYEARECAAYFAkkIVpAACgkQ84KuGfSFAYAWSQCcCyrB7+SwucDf94O8CIuU1qHP ApIAn3LadaOwxW+j+hzsDUHnYXV01mSX =Qptm -----END PGP SIGNATURE-----