#!/bin/sh -e ASM="uxncli $HOME/roms/drifblim.rom" EMU="uxnemu" LIN="uxncli $HOME/roms/uxnlin.rom" SRC="chr-view.tal" DST="chr-view.rom" CPY="$HOME/roms" ARG="pc9820x10.chr" if [[ "$*" == *"--lint"* ]] then $LIN $SRC fi $ASM $SRC $DST if [[ "$*" == *"--save"* ]] then cp $DST $CPY fi $EMU $DST $ARG