home *** CD-ROM | disk | FTP | other *** search
- From decwrl!ucbvax!pasteur!ames!lll-winken!uunet!allbery Sun Apr 23 15:40:24 PDT 1989
- Article 859 of comp.sources.misc:
- Path: decwrl!ucbvax!pasteur!ames!lll-winken!uunet!allbery
- From: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc)
- Newsgroups: comp.sources.misc
- Subject: v06i090: UUCP Pathfinder v1.1
- Message-ID: <53141@uunet.UU.NET>
- Date: 23 Apr 89 19:23:49 GMT
- Sender: allbery@uunet.UU.NET
- Reply-To: violence@jolnet.ORPK.IL.US (Violence)
- Distribution: usa
- Organization: TVH
- Lines: 34
- Approved: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc)
-
- Posting-number: Volume 6, Issue 90
- Submitted-by: violence@jolnet.ORPK.IL.US (Violence)
- Archive-name: findpath.sh
-
-
- Here's a nifty script that will isolate mail routings for you. Nothing too
- fancy, but it works.
-
- o /
- - - - - - - - - - - x- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- o \
-
- # Name: UUCP Pathfinder
- # Synopsis: findpath <systemname>
- # Description: Finds path from local-system to <systemname>
- # Caveat: Only works w/uucp names, no domains accepted
- echo ""
- echo "UUCP Pathfinder v1.1 (c)1988, Evan Robinson"
- echo "-------------------------------------------"
- echo "Searching, please hold.."
- if grep $1"!%s" /usr/lib/uucp/paths > /dev/null
- then
- echo "To get from "`uuname -l`" to $1, "
- echo "Send via uucp to:"
- grep $1"!%s" /usr/lib/uucp/paths
- else
- echo "Sorry, no paths available from "`uuname -l`" to $1."
- fi
- echo "-------------------------------------------"
- # End of file - 9/88
-
- o /
- - - - - - - - - - - x- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- o \
-
-
-