1#!/bin/sh -
2#
3# %sccs.include.proprietary.sh%
4#
5#	@(#)diction.sh	4.8 (Berkeley) 04/17/91
6#
7
8D=/usr/bin
9B=/usr/libexec
10echo $*
11rest=
12flag=
13nflag=
14mflag=-me
15lflag=-ml
16kflag=
17file=
18for i
19do case $i in
20 -f) flag=-f;shift; file=$1; shift; continue;;
21-n) nflag=-n;shift; continue;;
22-k) kflag=-k;shift; continue;;
23 -mm) mflag=$1; shift; continue;;
24-ms) mflag=$1;shift;continue;;
25-me) mflag=$1;shift;continue;;
26-ma) mflag=$1;shift;continue;;
27-ml) lflag=$1;shift;continue;;
28*) rest=$*; break;;
29esac
30done
31 $D/deroff $kflag $lflag $mflag $rest | $B/dprog -d $nflag $flag $file
32