> [...]
> 
> There is still an unanswered question about co-processes and subshells 
> I'd like to repeat:
> 
>     /local/bernd $ bc |&
>     [1]     32261
>     /local/bernd $ (print -p '1+2'; read -p x)
>     -ksh: print: no query process [Bad file descriptor]
 
$ ksh93t -c 'bc |& ( print -p 1+2; read -p x; echo $x )'
3
 
The above works, while...
 
$ ksh93t
$ bc |& ( print -p 1+2; read -p x; echo $x )
[1]     16081
ksh93t: print: no query process [Bad file descriptor]
 
...produces the reported error.
There was no error in an older ksh version...
 
$ ksh93r
 
$ bc |& ( print -p 1+2; read -p x; echo $x )
3
 
 
> 
> Is that a bug or am I missing something?
> [...]
_________________________________________________________________
http://redirect.gimas.net/?n=M0905xWLM2009
Neu: Messenger 2009! Hier kostenlos downloaden!
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to