.TH 822fields 1 .SH NAME .PP \fB\fC822fields\fR \- extract headers from a message .SH SYNOPSIS .PP .RS .nf 822fields _field_ ... .fi .RE .SH DESCRIPTION .PP The \fB\fC822fields\fR program reads an 822\-format email message from standard input. For each input header \fB\fC_field_\fR, \fB\fC822fields\fR prints one line containing the value of the field to standard output. If no \fB\fC_field_\fR appears, \fB\fC822fields\fR looks for \fB\fC_subject_\fR\&. .PP The end of the message or the first line that cannot be part of an 822\-format header field terminates the message message body. .SH EXIT STATUS .PP If it encounters an error while processing a message, \fB\fC822fields\fR exits 111. If \fB\fC822fields\fR finds any matching headers, it exits 0\&. Otherwise, \fB\fC822fields\fR exits 100. .SH AUTHOR .PP William Baxter .PP Version 0.56 .br Last updated 2015\-08\-23 23:24:43 CDT