Mercurial > hg > fail
view README.txt @ 2:d1880117acb5
attempt to correct documentation display on pypi
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 23 Aug 2016 14:58:00 -0700 |
parents | 02d077c5627a |
children |
line wrap: on
line source
fail ==== run a program until it fails and gather statistics Elaborations from a favorite bash one-liner:: I=0; while ./do_some_things.py --param $arg; do I=$((I+1)); echo Iteration ${I}; sleep 1; done fun things to try ----------------- Russian roulette (with two chambers):: fail 'exit $(expr $RANDOM % 2)' ---- Jeff Hammel http://k0s.org/