NPTX(8)

NAME
nptx - full name permutations

SYNOPSIS
nptx

DESCRIPTION
nptx reads a list of address name pairs on the standard input and prints name permutations and the address pairs on the standard output. nptx is generally used in generation of a full name database for smail(8). The format of an input line is

address    name

The address field can contain any address, it is terminated by a TAB char (ascii 0x9). No translation is done on the field. The name field consists of whitespace separated names or initials with an optional nickname given in parentheses, it is terminated by either a newline ascii (0xA) or a ',' (ascii 0x). All permutations of the names and initials are printed. The only restriction is that the last name will appear in each permutation. The permutations are not necesarily unique.

EXAMPLES
$ echo "gpb@ECH.gatech.edu	Wrecker Burdell(George P.)"|nptx
Burdell	gpb@ECH.gatech.edu
W.Burdell	gpb@ECH.gatech.edu
Wrecker.Burdell	gpb@ECH.gatech.edu
Burdell	gpb@ECH.gatech.edu
G.Burdell	gpb@ECH.gatech.edu
George.Burdell	gpb@ECH.gatech.edu
P.Burdell	gpb@ECH.gatech.edu
P.Burdell	gpb@ECH.gatech.edu
G.P.Burdell	gpb@ECH.gatech.edu
George.P.Burdell	gpb@ECH.gatech.edu
G.P.Burdell	gpb@ECH.gatech.edu
George.P.Burdell	gpb@ECH.gatech.edu
$

SEE ALSO
smail(8), paths(8), mkfnames(8)

VERSION
@(#)nptx.8    2.5 (smail) 9/15/87