822fields(1)

NAME

822fields - extract headers from a message

SYNOPSIS

    822fields _field_ ...

DESCRIPTION

The 822fields program reads an 822-format email message from standard input. For each input header _field_, 822fields prints one line containing the value of the field to standard output. If no _field_ appears, 822fields looks for _subject_.

The end of the message or the first line that cannot be part of an 822-format header field terminates the message message body.

EXIT STATUS

If it encounters an error while processing a message, 822fields exits 111. If 822fields finds any matching headers, it exits 0. Otherwise, 822fields exits 100.

AUTHOR

William Baxter <sst@superscript.com>

Version 0.56
Last updated 2015-08-23 23:24:43 CDT