Roland Mainz wrote:
Peter Memishian wrote:
> ... but I am only getting the output of the 2nd script here... am I
> doing something wrong ?
Hmm, I don't think so, but I also recall running afoul of environment
issues when -p was left out scripts like nightly. But now I can't
reproduce the problem, so maybe something's been fixed -- or my memory is
failing ;-)
AFAIK "ENV"&&co. only affect _interactive_ ksh/ksh93 shells and not
non-interactive ones. If the "luu*"-scripts run a script and then switch
to an interative shell prompt then they will be affected by the value of
"ENV" ...
... but I am not completely sure... David: In which cases need a shell
script the -p" option in the "#!/bin/ksh"-line (e.g. to avoid that they
source the script defined by the "ENV" variable) ?
and isn't -p about suppressing .profile, anyway, and not ENV/.kshrc?
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code