On 10/23/22 10:25 PM, Emanuele Torre wrote:
I don't think the process running `cat' is a sibling of the subshell.
It's not, but in this case it doesn't matter. `wait' without arguments should wait for the last process substitution only if it's the same as $!. You can wait for other process substitutions individually if you save $! after they're created. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/