>> On Solaris 10, the standard location is /usr/xpg4/bin/env.
>> (/usr/bin/env doesn't conform to POSIX, I guess....)
>
> I have a hard time imagining in what way /usr/bin/env would not
> conform to POSIX.

On Solaris 10, /usr/bin/env invokes /usr/bin/sh, which does not
conform to POSIX in several important respects, e.g., it lacks shell
functions.  For the purpose of this discussion, though, I hope the
differences don't matter.  /usr/xpg4/bin/env invokes /usr/xpg4/bin/sh,
which does conform.

If you're curious about portability issues, Solaris 10
/usr/xpg4/bin/sh is the Korn shell -- but it is not identical to
/usr/bin/ksh!  (That would be too easy.)  Solaris 10 has three
distinct versions of ksh installed: /usr/bin/ksh, /usr/xpg4/bin/sh,
and /usr/dt/bin/dtksh.  No two are the same, but the first two are
quite close (both are ksh88) whereas the latter one is quite different
(it's ksh93).


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to