dspinellis / dgsh

Shell supporting pipelines to and from multiple processes
http://www.spinellis.gr/sw/dgsh/
Other
323 stars 23 forks source link

Add --multistream option to comm? #60

Open dspinellis opened 7 years ago

dspinellis commented 7 years ago
dspinellis commented 7 years ago

Alternatively, modify the API to allow the specification of the number of I/O channels that the command can accept, and adjust according to what's available upstream/downstream. But then comm | tee might do the wrong thing. Also, for generality we'd need --multistream-input and --multistream-output. Adding these options to tee, cat and other adapted tools would be inelegant.