BSD 4_3_Tahoe release
[unix-history] / usr / src / usr.bin / plot / plot.sh
#!/bin/sh
# @(#)plot.sh 4.5 (Berkeley) 8/29/86
#
PATH=/bin:/usr/bin:/usr/ucb
case $1 in
-T*) t=$1
shift ;;
*) t=-T$TERM
esac
case $t in
-T450) exec t450 $*;;
-T300) exec t300 $*;;
-T300S|-T300s) exec t300s $*;;
-Tver) exec lpr -Pversatec -g $*;;
-Tvar) exec lpr -Pvarian -g $*;;
-Ttek|-T4014|-T) exec tek $* ;;
-T4013) exec t4013 $* ;;
-Tbitgraph|-Tbg) exec bgplot $*;;
-Tgigi|-Tvt125) exec gigiplot $*;;
-Taed) exec aedplot $*;;
-Thp7221|-Thp7|-Th7) exec hp7221plot $*;;
-Thp|-T2648|-T2648a|-Thp2648|-Thp2648a|h8)
exec hpplot $*;;
-Tip|-Timagen) exec implot $*;;
-Tgrn) exec grnplot $*;;
-Tcrt) exec crtplot $*;;
-Tdumb|un|unknown) exec dumbplot $*;;
*) exec crtplot $*;;
esac