prun

command module
v0.0.0-...-bc272b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2015 License: BSD-2-Clause Imports: 9 Imported by: 0

README

Go Application Template (prun)

License

The goat project is release under a BSD-style license, the contents of which are in the repo's LICENSE file.

API Documentation

http://godoc.org/github.com/xaevman/prun

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 {}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL