xref: /csrg-svn/old/vpr/vpr.sh (revision 11436)
19396Saigrain#! /bin/csh -f
27693Smckusick#
3*11436Sralph#	@(#)vpr.sh	4.1	(Berkeley)	03/08/83
47693Smckusick#
5*11436Sralphset flags = ()
6*11436Sralphset printer = -Pvarian
77693Smckusicktop:
87693Smckusick	if ($#argv > 0) then
97693Smckusick		switch ($argv[1])
10*11436Sralph		case -V:
11*11436Sralph			set printer = -Pvarian
127693Smckusick			shift argv
137693Smckusick			goto top
14*11436Sralph		case -W:
15*11436Sralph			set printer = -Pversatec
16*11436Sralph			shift argv
17*11436Sralph			goto top
187693Smckusick		case -*:
197693Smckusick			set flags = ($flags $argv[1])
207693Smckusick			shift argv
217693Smckusick			goto top
227693Smckusick		endsw
237693Smckusick	endif
24*11436Sralph/usr/ucb/lpr $printer $flags $*
25