#!/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). # # @(#)diction.sh 4.8 (Berkeley) 4/17/91 # D=/usr/bin B=/usr/libexec echo $* rest= flag= nflag= mflag=-me lflag=-ml kflag= file= for i do case $i in -f) flag=-f;shift; file=$1; shift; continue;; -n) nflag=-n;shift; continue;; -k) kflag=-k;shift; continue;; -mm) mflag=$1; shift; continue;; -ms) mflag=$1;shift;continue;; -me) mflag=$1;shift;continue;; -ma) mflag=$1;shift;continue;; -ml) lflag=$1;shift;continue;; *) rest=$*; break;; esac done $D/deroff $kflag $lflag $mflag $rest | $B/dprog -d $nflag $flag $file