[HN Gopher] Why "process substitution" is a late feature in Unix...
___________________________________________________________________
Why "process substitution" is a late feature in Unix shells
Author : r4um
Score : 49 points
Date : 2022-01-07 21:43 UTC (1 hours ago)
(HTM) web link (utcc.utoronto.ca)
(TXT) w3m dump (utcc.utoronto.ca)
| zokier wrote:
| The usability of unixy shells generally falls down a cliff when
| you need to deal with more than just one input one output. The
| awkwardness in trying to shoehorn process substitution is just
| one of the examples of that.
| rscnt wrote:
| do you know alternatives to that? I assume PowerShell but don't
| know if there's anything beyond that.
| veltas wrote:
| Didn't even know about process substitution, had been using
| fifo's to achieve this!
| ogogmad wrote:
| Fish tries to use FIFOs to emulate process substitution, and it
| leads to deadlock. Not sure why.
|
| By default, Fish actually runs the processes in a strict
| sequence. But this is because of the above deadlock situation.
| And it therefore isn't process substitution.
___________________________________________________________________
(page generated 2022-01-07 23:00 UTC)