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