Posted to tcl by Bradipo at Mon Apr 19 22:44:49 GMT 2010view pretty

#!/bin/sh
# \
if test -f $HOME/.approfile; then exec tclsh "$0" ${1+"$@"}; else exec /some/other/app "$@"; fi