#!/usr/bin/env zsh clear figlet 'gps_savr' echo '=============================================' sleep 1 echo '[*] setting up...' src/setup.sh src/wait_for_fix.sh sleep 1 echo "[*] press enter to begin." read echo '[*] doing it.' while true; do read x echo "[*] saving coords..." echo "`date +%s`" "`src/dirty_hack.sh`" "$x" | tee --append $1 done