cc: [email protected] 
Subject: Re: [ast-developers] Re: Inconsistent return code from subshell
--------

> If I remove the redirection, it works as expected.
> 
> (10:19:35) c89f8v08:/ # out=$(ls -l /tmp/junk 2>/dev/null || print -u2 
> /tmp/junk
>  NOT FOUND ; echo done) ; echo $out
> done
> 
> (10:19:50) c89f8v08:/ # out=$(ls -l /tmp/junk || print -u2 /tmp/junk NOT 
> FOUND ;
>  echo done) ; echo $out
> /tmp/junk not found
> /tmp/junk NOT FOUND
> done
> 

I have not been able to reproduce this.  What system and what version of ksh93
are you running?

Can anyone else reproduce this?

David Korn
[email protected]
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to