SCAN(1MH) COMMAND REFERENCE SCAN(1MH)
NAME
scan - produce a one-line-per-message scan listing
SYNOPSIS
scan [ +folder ][ msgs ][ -ff ][ -header ][ -noff ][
-noheader ]
DESCRIPTION
Scan produces a one-line-per-message listing of the
specified messages. Each scan line contains the message
number (name), the date, the From field, the Subject field,
and, if room allows, some of the body of the message.
If there is sufficient room left on the scan line after the
subject, the line will be filled with text from the body,
preceded by <<. 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.
Your .mh_profile can contain the following entries:
Path: To determine the user's MH directory
Current-Folder: To find the default current folder
Scan has the following defaults:
+folder
defaults to current
msgs defaults to all
-noff
-noheader
If a folder is given, it will become current. The current
message is unaffected.
OPTIONS
-header
This switch produces a header line prior to the scan
listing.
-ff
This switch will cause a form feed to be output at the
end of the scan listing.
EXAMPLES
The following input:
Printed 4/6/89 1
SCAN(1MH) COMMAND REFERENCE SCAN(1MH)
scan +Train 15 16 18 19
gives these results:
15+ 7/ 5 Dcrocker nned <<Last week I asked some of
16 - 7/ 5 dcrocker message id format <<I recommend
18 7/ 6 Obrien Re: Exit status from mkdir
19 7/ 7 Obrien "scan" listing format in MH
The + on message 15 indicates that it is the current
message. The - on message 16 indicates that it has been
replied to, as indicated by a Replied: component produced by
an -annotate switch to the repl command.
FILES
$HOME/.mh_profile
The user profile
SEE ALSO
comp(1mh), folder(1mh), forw(1mh), inc(1mh), mail(1mh),
next(1mh), pick(1mh), prev(1mh), prompter(1mh), refile(1mh),
repl(1mh), rmf(1mh), rmm(1mh), scan(1mh), send(1mh), and
show(1mh).
Printed 4/6/89 2
%%index%%
na:288,102;
sy:390,475;
de:865,1572;
op:2437,456;
ex:2893,117;3370,653;
fi:4023,147;
se:4170,547;
%%index%%000000000131