#!/bin/sh -e ASM="uxncli $HOME/roms/drifblim.rom" EMU="uxn11" LIN="uxncli $HOME/roms/uxnlin.rom" ID="biticn" SRC="${ID}.tal" DST="${ID}.rom" CPY="$HOME/roms" ARG="6x13.txt" if [[ "$*" == *"--lint"* ]] then $LIN $SRC fi $ASM $SRC $DST if [[ "$*" == *"--save"* ]] then cp $DST $CPY fi cat 6x13.txt | $EMU $DST > 6x13.icn cat 7x14.txt | $EMU $DST > 7x14.icn