Re:The Beauty of Unix Pipelines
by remexre on Friday June 05, 2020 @03:02AM
(#23425827)
At that point you're writing something for /usr/libexec, not /usr/bin though. (i.e., at that point it becomes sufficiently inconvenient to use from the shell that no user-facing program would do so.)
you can pass as many FDs to a child as you want, 0/1/2 is just a convention