From 68cb92492ed21b762316c6c7bb0942125756bbae Mon Sep 17 00:00:00 2001 From: CSRG Date: Fri, 24 Jan 1986 07:20:39 -0800 Subject: [PATCH] BSD 4_3 development Work on file usr/contrib/dipress/src/bin/qip Synthesized-from: CSRG/cd1/4.3 --- usr/contrib/dipress/src/bin/qip | 53 +++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 usr/contrib/dipress/src/bin/qip diff --git a/usr/contrib/dipress/src/bin/qip b/usr/contrib/dipress/src/bin/qip new file mode 100644 index 0000000000..8d22ea42ac --- /dev/null +++ b/usr/contrib/dipress/src/bin/qip @@ -0,0 +1,53 @@ +#! /bin/csh +# (C) Copyright 1985, 1986 Xerox Corp. +# +# This is a shell script that can be used to simulate the MDQS queuing +# command "qip". Dipress and maha only use the following options: +# +# -nc don't make a copy of this file +# -nk don't keep the file after printing it (delete it) +# -c copies number of copies requested +# -t banner set the banner message on the break page +# -x Fname the name it should be filed on +# +# +set flags=() noglob fonts=() device=8044 outputname=() +unset copies +unset title +unset extended +unset delete +set copy +top: +if ($#argv > 0) then + switch ($argv[1]) + + case -nc: + unset copy + shift argv + goto top + + case -nk: + set delete + shift argv + goto top + + case -c: + shift argv + set copies=$argv[1] + shift argv + goto top + + case -t: + shift argv + set title=$argv[1] + shift argv + goto top + + case -x: + shift argv + set extended=$argv[1] + shift argv + goto top + endsw +endif +echo "insert your command here" -- 2.20.1