File:  [MW Coherent from dump] / coherent / a / bin / phone
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

: phone 3/13/90
: Usage: phone name ...
: Look for name in $PHONEBOOK and /usr/pub/phonebook.

case $# in
0)
	echo "Usage: $0 name ..." >&2
	exit 1
esac

first=$1
pattern=$1
shift
for name in $*
do
	pattern="${pattern}|${name}"
done

if egrep -yh "$pattern" $PHONEBOOK /usr/pub/phonebook
then
	exit 0
else
	echo "phone: cannot find $first $*" 1>&2
	exit 2
fi

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.