Skip to content

Repository files navigation

dorian-parallel

Run a Ruby snippet for each input line in parallel.

Install

gem install dorian-parallel

Also included in the aggregate gem:

gem install dorian

Usage

parallel [options] [file ...] "ruby code"

Run parallel -h for generated option details and parallel -v for the installed version.

Notes

  • Same model as each, but uses the parallel gem. Output order may vary.

Examples

Double numbers concurrently

printf '1\n2\n' | parallel "puts it.to_i * 2"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages