3 ms·
This is nice for linear pipes. But occasionally I find myself building more of a graph. Bash lets you provide file arguments from pipes via the <() syntax (it'
by the8472 8y ago
This is nice for linear pipes. But occasionally I find myself building more of a graph.
Bash lets you provide file arguments from pipes via the <() syntax (it's turned into a fd reference via proc behind the scenes). And you can also wire up additional pipes with fd renumbering, though this gets ugly in bash, some other shells are more flexible there, e.g dgsh.
A tool to iteratively build a graph of commands and pipes would be the next step.
- mohammedbin 8y agoThis sounds interesting. Can you pull up some history and make a gist/pastie?
- akavel 8y agoThat's totally where my long-term vision goes! :D But I'm very unsure if I'll have enough time and resources to be able to reach it :/ My strong hope is however that the Luna language[1] & team may get us there faster, and to an even nicer place actually :) [1]: https://luna-lang.org https://luna-lang.org