.HP 5
.na
.B scan
+.RB [ \-help ]
+.RB [ \-version ]
.RI [ +folder ]
.RI [ msgs ]
.RB [ \-clear " | " \-noclear ]
.RB [ \-reverse " | " \-noreverse ]
.RB [ \-file
.IR filename ]
-.RB [ \-version ]
-.RB [ \-help ]
.ad
.SH DESCRIPTION
-.B Scan
+.B scan
produces a one\-line\-per\-message listing of the specified
folder or messages. Each
.B scan
line after the
subject, the line will be filled with text from the body, preceded by
\*(lq<<\*(rq, and terminated by \*(lq>>\*(rq if the body is sufficiently short.
-.B Scan
+.B scan
actually reads each of the specified messages and parses them to extract
the desired fields. During parsing, appropriate error messages will be
produced if there are format errors in any of the messages.
.B scan
will decode RFC 2047 (MIME) encoding in
these scan listings.
-.B Scan
+.B scan
will only decode these fields if your
terminal can natively display the character set used in the encoding.
You should set the appropriate
to have dates in them.
.PP
The
-.B %etcdir%
+.B %nmhetcdir%
directory contains several format files as examples of customized
.B scan
output.
.SH FILES
.fc ^ ~
.nf
-.ta \w'%etcdir%/ExtraBigFileName 'u
+.ta \w'%nmhetcdir%/ExtraBigFileName 'u
^$HOME/\&.mh\(ruprofile~^The user profile
.fi
.SH "PROFILE COMPONENTS"