#!/bin/csh -f # addr # ------------------------------------------------------------------------------ # Shell script to look up an e-mail address. # ------------------------------------------------------------------------------ # Usage: See Usage section below or run with no arguments to see usage. # Assumptions: # Effects: # - Reports to stdout the e-mail address of a person # Notes: # Implementation Notes: # Portability Issues: # Revision History: # $Log$ # ------------------------------------------------------------------------------ if ($#argv == 0) then echo "Usage: $0:t partial or full name or address" exit 1 endif grep -i $1:q ~/fred/Mozilla/TBird/Lists/address.lis set rc = $status exit $rc