swparse(1)

NAME
swparse — Parse metadata files: INDEX, INFO, and psf.

SYNOPSIS

swparse {-o,--info|-i,--index|-p,--psf} [file]

DESCRIPTION

swparse reads POSIX.7.2 metadata files. One file type, INDEX, INFO or PSF is specified in the first argument. If a file name to parse is not given in the second argument, swparse reads from stdin.

swparse writes a de facto format to stdout. The format indicates the keyword type, (O)bject, (A)ttribute, or, (E)xtended, and, containment level. Newlines in multi-line values are translated to '\n' and output on a single line.

OPTIONS

-o  Parse an INFO file.

-p  Parse a PSF file.

-i  Parse an INDEX file.

CAVEATS

A stand-alone parser by this name is not specified in IEEE Std 1387.2-1995 (POSIX.7.2).

STANDARDS CONFORMANCE

POSIX.7.2

SEE ALSO

swparse(5)

IDENTIFICATION

Author: J. Lowe < jhl@richmond.infi.net >
 $RCSfile: swparse_1.sgml_v $
 $Revision: 1.7 $
 $Date: 1998/01/17 18:42:56 $
 Copying: GNU Free Documentation License

BUGS

Requirements for inclusion (exclusion) of certain keywords in (from) the parsed output is not enforced.