Richard L. Hamilton wrote:
On Solaris 8, old /bin/ksh prints both, but even dtksh (very early and buggy ksh93-based) only prints the 2nd one. On Solaris 10, /bin/ksh only prints the 2nd. I suppose somewhere it was decided that that sourcing $ENV for a non-interactive ksh was incorrect, but I'm not going to spend any more time trying to figure out just when that changed...
Looks like it was part of UNIX2003/SUSv3 compliance in Solaris 10: http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4763915 In which case, -p would still be needed for any scripts that could ever be run on pre-S10 releases. -- -Alan Coopersmith- [EMAIL PROTECTED] Sun Microsystems, Inc. - X Window System Engineering _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
