ref: 0867476bdea4c19f7c8ecb0cfa422e803a690f0a dir: /test/asm/test.sh/
fname=$(mktemp) for i in *.asm; do ../../rgbasm $i >$fname 2>&1 diff -u $fname ${i%.asm}.out done