#! /bin/sh for v in 8 9 10 11 12; do ./unpack && ./all $v all all 2>&1 | tee all-$v.log; done