pathmerge(8)

pathmerge8

Merge sorted paths files

Usage

/usr/lib/smail/pathmerge file ...

Overview

Pathmerge takes a set of sorted path files, as produced by pathalias(8), and generates on the standard output a merge of the path information, with one path given for each hostname. Precedence for paths goes to the files given earlier in the argument list. One of the filenames given in the argument list can be - to specify the standard input.

As an example of the use of pathmerge, let's say that we have two files, forces and paths, whose contents are, respectively:

ihnp4	cbosgd!ihnp4!%s
muts12	muts12!%s
sun	sun!%s

and

cbosgd	cbosgd!%s
ihnp4	ihnp4!%s
sun	ames!sun!%s
uunet	uunet!%s

The command ``pathmerge forces paths'' will produce on the standard output:

cbosgd	cbosgd!%s
ihnp4	cbosgd!ihnp4!%s
muts12	muts12!%s
sun	sun!%s
uunet	uunet!%s

For the purposes of pathmerge, a hostname is terminated by either a space, a tab, a colon or a newline. The number of file arguments is limited by the number of available file descriptors, as all of the files are opened and read simultaneously.

Releases

7 releases since Debian 1.1 (Buzz); the text changed 3 times.

  1. 1.1
  2. 1.2–2.1
  3. 3.0
  4. 4.0

From smail 3.2.0.115-7.1 in Debian 4.0 (Etch). Parsed by carta from the page's man source.