#!/bin/sh -e ID="arvelie" ASM="uxncli $HOME/roms/drifblim.rom" EMU="uxncli" LIN="uxncli $HOME/roms/uxnlin.rom" SRC="${ID}.tal" DST="${ID}.rom" CPY="$HOME/roms" ARG="" if [[ "$*" == *"--lint"* ]] then $LIN $SRC fi $ASM $SRC $DST if [[ "$*" == *"--save"* ]] then cp $DST $CPY fi echo "today: " $EMU $DST echo "gre->arv: " $EMU $DST "2023-05-25" echo "arv->gre: " $EMU $DST "17K04"