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

#
#	@(#)pathproc.sh	2.5 (smail) 9/15/87
#
# This script will do all that's necessary for
# transforming the output of pathalias -f into
# the format of a 'paths' file for smail.
#
# format of the pathalias -f output is
# cost	host	route
#
# format of a 'paths' file for smail is
# host	route	first_hop_cost
#
# move cost field to end of line
#
sed 's/\(.*\)	\(.*\)	\(.*\)/\2	\3	\1/'|
#
# convert target domain/host to lower case
#
lcasep |
#
# sort the stream
#
sort

unix.superglobalmegacorp.com

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