Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 298 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 298 Bytes

ntimes

Command to execute command N times

Usage

$ ntimes 3 -- echo foo bar baz
foo bar baz
foo bar baz
foo bar baz

Set parallel degree of execution (-p)

$ ntimes 10 -p 3 -- sh -c 'echo "Hi!"; sleep 1; echo "Bye"'

Author

Yuya Takeyama

License

The MIT License