Documentation
¶
Overview ¶
prun (parallel run) reads pipeline input, parses it into individual lines, and substitutes each line into a supplied command line, then executes the resulting commands in parallel across a configured number of concurrent goroutines. Usage: prun <worker count> <command>
<worker count> : The number of worker goroutines to run in parallel
<command> : The command line to run on each supplied input. the
token '{}' is replaced by each line supplied on stdin.
example: find . -type f | prun stat {}
Click to show internal directories.
Click to hide internal directories.