ref: 6e123ccc364b8bed9c38f884666271810c37578c dir: /test/asm/test.sh/
fname=$(mktemp) rc=0 for i in *.asm; do ../../rgbasm $i >$fname 2>&1 diff -u $fname ${i%.asm}.out rc=$(($? || $rc)) done exit $rc