nptx(8) INTERACTIVE UNIX System nptx(8)
NAME
nptx - full name permutations
SYNOPSIS
nptx
DESCRIPTION
The nptx program reads a list of address name pairs on the
standard input and prints name permutations and the address
pairs on the standard output. The nptx program is generally
used to generate 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 white space-separated
names or initials with an optional nickname given in
parentheses. It is terminated by either a new-line ascii
(0xA) or a comma (,) (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 necessarily unique.
Examples
$ echo "gpb@ECH.gatech.edu<tab>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
mkfnames(8), smail(8).
paths(5) in the INTERACTIVE SDS Guide and Programmer's
Reference Manual.
ADDED VALUE
This entry, supplied by INTERACTIVE Systems Corporation, is
an extension of UNIX System V.
Rev. 1.1 Page 1