Revision 8c5b1e4d06a921fd3d378dc647332b49fbb158ac authored by Ken Thompson on 14 May 1979, 22:00:40 UTC, committed by Ken Thompson on 14 May 1979, 22:00:40 UTC
Work on file etc/rc

Co-Authored-By: Dennis Ritchie <dmr@research.uucp>
Synthesized-from: v7
1 parent 8ee544b
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