Revision dcbde7897a0b4c64b422f2bebd3c10b9a38e0972 authored by Ken Thompson on 13 May 1979, 22:37:21 UTC, committed by Ken Thompson on 13 May 1979, 22:37:21 UTC
Work on file usr/sys/h/pk.p

Co-Authored-By: Dennis Ritchie <dmr@research.uucp>
Synthesized-from: v7
1 parent 6664aa8
Raw File
lookbib
A=
case $1 in
	-p)	A="$1 $2"
		shift; shift;;
	-*)	A=$1
		shift;;
esac
case $1 in
	-p)	A="$A $1 $2"
		shift; shift;;
	-*)	A="$A $1"
		shift;;
esac
if test $1x = x 
then /usr/lib/refer/mkey -s
else echo $* | /usr/lib/refer/mkey -s
fi | /usr/lib/refer/hunt $A /usr/dict/papers/Ind
back to top