#!/bin/sh echo hej > out_1 echo hej > out_2 while diff out_1 out_2; do echo -n . python gen.py -2147483648 2147483647 > max "$1" < max > out_1 "$2" < max > out_2 done