zaebaka/README.md
2024-11-27 20:06:59 +03:00

632 B

zaebaka

bash cat with a pipe

... or in another words, spawn N processes running someting and kill them when done.

Usage

$ python zaebaka.py -h
usage: zaebaka [-h] -s SCRIPT [-c COUNT] [-t TEMPLATE]

bash cat with a pipe

options:
  -h, --help            show this help message and exit
  -s, --script SCRIPT   script to run in shell
  -c, --count COUNT     instances count
  -t, --template TEMPLATE
                        template placeholder for instance id substitution

This tool can spawn N processes running specified script and substitute instance number in specific template {{template}} or other, if set.