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

.TH PATHPROC 8
.SH NAME
pathproc \- pathalias post\-processor for smail routing database
.SH DESCRIPTION
.I Pathproc
takes lines of the form
.sp
.ce
\fIfirst_hop_cost	key	route\fP
.sp
as produced by
.I pathalias -f
and converts it to the form
.sp
.ce
\fI key	route	cost\fP
.sp
as described in
.IR paths (8).
On the input, the
.I route_cost
is
.IR pathalias "'s"
total cost for the route.
On the output, the
.I cost
is the cost for the
.I first segment
of the route.
This represents the cost, to the local host,
of passing the mail to its neighbor.
.PP
The output is sorted by
.I key
in ascending order.
.SH EXAMPLE
Here's an example of how you might use
.I pathproc:
.sp
.in+3
pathalias -f \fImap_files\fP | pathproc > newpaths
.br
mv newpaths /usr/lib/uucp/paths
.in
.sp
.SH SEE ALSO
pathalias - by Peter Honeyman
.br
smail(8), lcasep(8), paths(8)
.SH VERSION
@(#)pathproc.8	2.5 (smail) 9/15/87

unix.superglobalmegacorp.com

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