-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jim Meyering on 4/16/2008 6:57 AM:
|   $ PATH=. /bin/sh -c 'exec mknod --version'|head -1
|   /bin/sh: mknod: --: unknown option

Ouch - this looks like a POSIX compliance bug in exec; I'm adding
bug-autoconf to the distribution in case we want to document this corner
case bug in the shell portability section.  POSIX states that exec is
supposed to bypass shell builtins (and while special shell builtins, like
'exit', give undefined behavior when passed to exec, regular shell
builtins, like 'fg', are required to exist in PATH even if they can't
quite do as much work as their builtin counterpart).  Do you know which
shell heritage the OpenBSD /bin/sh derives from?

|   $ PATH=. /bin/sh -c 'nice mknod --version' | head -1
|   mknod (GNU coreutils) 6.10.188-7cb24

| So I'll go with nice.

Sounds nice to me (sorry, couldn't resist :)

- --
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

iEYEARECAAYFAkgF+h4ACgkQ84KuGfSFAYBgwQCgkm+chKbhFZ+zkxx7U6Mn6QT1
NCUAoKAcBXl5/fg6KyURTn9fKu2kxPFL
=SDPR
-----END PGP SIGNATURE-----


Reply via email to