4.4BSD/usr/bin/plot

#!/bin/sh -
#
# This module is believed to contain source code proprietary to AT&T.
# Use and redistribution is subject to the Berkeley Software License
# Agreement and your Software Agreement with AT&T (Western Electric).
#
#	@(#)plot.sh	8.1 (Berkeley) 6/6/93
#

PATH=/bin:/usr/bin:/usr/libexec/plot
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