> > With Solaris still shipping a Bourne shell (rather than a POSIX shell) > > in /bin/sh that means you're stuck with 7th Edition semantics unless > > you're willing to put in tricks to try to re-invoke your script under > > /usr/xpg4/bin/sh or /bin/sh5 or ksh or bash or whatever. > > Such dicussions are a mine field. But I believe here you are really > confusing Solaris (quite recent SVR4-like shell) with Ultrix (sh: V7-like > shell without functions ./. sh5: SVR2-like shell).
Solaris's default shell, though more modern than the old Ultrix one, is not Posix-conformant. It is more capable than the 7th edition shell, nevertheless. :-) Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/