#!/bin/sh [ "$TERM" == "dumb" ] && exec xterm $0 "$@" path=`dirname $0` [ "$path" == "." ] && path=`pwd` cd $path ./icom_programmer.rb "$@" echo -n "Press Enter to close:" read