.HP 5
.na
.B fmttest
+.RB [ \-help ]
+.RB [ \-version ]
.RB [ \-form
.IR formatfile ]
.RB [ \-format
.RI [ msgs " | " strings ]
.ad
.SH DESCRIPTION
-.B Fmttest
+.B fmttest
is used to test programs written for the
.B nmh
format language as specified by
done on usernames, and files are searched for in the user's
.I Mail
directory as specified in their profile. If not found there, the directory
-.RI \*(lq %etcdir% \*(rq
+.RI \*(lq %nmhetcdir% \*(rq
is checked.
.SS MODE SELECTION AND COMPONENT SPECIFICATION
-.B Fmttest
+.B fmttest
has four operating modes: address mode, raw mode, date mode, and message
mode. These modes are selected by the
.BR \-address ,
In message mode the arguments to
.B fmttest
are interpreted as an optional folder and messages.
-.B Fmttest
+.B fmttest
will read each specified message and make all of the components in the
message available to the format program. Also, the appropriate information
for the
LV_DAT Load value from \fIdat\fR array into \fInum\fR register (see note)
LV_STRLEN Set \fInum\fR to the length of \fIstr\fR
LV_PLUS_L Add value to \fInum\fR register
-LV_MINUS_L Substract value from \fInum\fR register
+LV_MINUS_L Subtract value from \fInum\fR register
LV_DIVIDE_L Divide \fInum\fR register by value
LV_MODULO_L \fInum\fR modulo value
LV_CHAR_LEFT Store remaining number of printable chars in \fInum\fR