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