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) ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to