Distribute stdin to multiple sub commands.
go get github.com/fujiwara/distdin
$ distdin [-n Num of sub commands] [-v] command args ...
$ distdin -n 4 grep Foo < file
distdin
works as below.
- Forks 4 grep commands.
- Supplies STDIN for each line to each grep commands.
The MIT License (MIT)
Copyright (c) 2016 FUJIWARA Shunichiro