view README.txt @ 0:02d077c5627a

initial program
author Jeff Hammel <k0scist@gmail.com>
date Mon, 29 Feb 2016 13:48:39 -0800
parents
children d1880117acb5
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