> > I would think the point to take from this lesson
> would be that one should always write portable
> scripts.
>
> Nope, that is not the point of the thread. The point
> is that there
> exists a legitimate, not rare use-case which
> standards don't cover.
However, the solaris standards man page does cover it. It says that:
" An application that wants to use standard-conforming utili-
tues must set the PATH (sh(1) or ksh(1)) or path (csh(1))
environment variable to specify the directories listed in
the following table in the order specified to get the
appropriate utilities:"
Your particular desire to use /bin/sh instead of relying on path is
unfortunately not covered by the SUS (to my knowledge).
-Shawn
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]