#!/bin/sh
# ~/bin/.sh/greptel2
# by http://www.berklix.com/~jhs/bin/.sh/greptel2
# See Also:
#	~/bin/.sh/telno
#	~/bin/.sh/greptel1
#	~/bin/.sh/greptel3

# Used by hand to look up phone numbers of callers , mouse copying sub strings delivered by greptel1, such as:
# Call from: unknown (0404153711)

# echo "Searching phone books in ~/txt/contacts"
# find -s ~/txt/contacts -type f -name \*.phone

grep $1 `find -s ~/txt/contacts -type f -name \*.phone`

echo "If no matches, Suggestions:"
echo "		greptel3 $1"
echo "	Or:"
echo "		firefox http://berklix.com/~jhs/phone/index.html#who"
echo "	Then:"
echo "		vi ~/txt/contacts/wasters.phone"
