Sujet : Re: coprocs - again (Was: Different variable assignments)
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.unix.shellDate : 25. Oct 2024, 06:03:07
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vff8qc$31tk9$1@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 25.10.2024 06:35, Lawrence D'Oliveiro wrote:
On Fri, 25 Oct 2024 06:26:14 +0200, Janis Papanagnou wrote:
I meant that you can have several asynchroneous processes started which
are each connected to the same main shell session with pipes for
communicating. For that you have to redirect the default pipe channels
because there's of course just one option '-p' with the commands 'read'
and 'print' and you need some way to differentiate the various channels.
Bash does that in a nicer way.
For multiple co-processes you may be right. (I certainly differ
given how Bash implemented it, with all the question that arise.)
And I already said: I don't think it makes much sense to discuss
subjective valuations.
But my response was anyway just countering the (wrong) opinion
that it would not be possible in Ksh.
There's no more to be said on my part.
Janis