|
|
1.1 root 1: #
2: # @(#)pathproc.sh 2.5 (smail) 9/15/87
3: #
4: # This script will do all that's necessary for
5: # transforming the output of pathalias -f into
6: # the format of a 'paths' file for smail.
7: #
8: # format of the pathalias -f output is
9: # cost host route
10: #
11: # format of a 'paths' file for smail is
12: # host route first_hop_cost
13: #
14: # move cost field to end of line
15: #
16: sed 's/\(.*\) \(.*\) \(.*\)/\2 \3 \1/'|
17: #
18: # convert target domain/host to lower case
19: #
20: lcasep |
21: #
22: # sort the stream
23: #
24: sort
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.