-.TH MH-FORMAT %manext5% "December 18, 2016" "%nmhversion%"
-.\"
+.TH MH-FORMAT %manext5% 2015-01-10 "%nmhversion%"
+.
.\" %nmhwarning%
-.\"
+.
.SH NAME
mh-format \- format file for nmh message system
.SH DESCRIPTION
.nf
.RI "%< " condition " " "format-text"
.RI "%? " condition " " "format-text"
- \&...
+ ...
.RI "%| " "format-text"
%>
.fi
.PP
(Extra white space is shown here only for clarity.)
These constructs, which may be nested without ambiguity, form a general
-.B if\-elseif\-else\-endif
+.B if-elseif-else-endif
block where only one of the format-texts is interpreted. In other
words, `%<' is like the "if", `%?' is like the "elseif", `%|' is like
"else", and `%>' is like "endif".
strlen integer length of \fIstr\fR
width integer column width of terminal
charleft integer bytes left in output buffer
-timenow integer seconds since the UNIX epoch
+timenow integer seconds since the Unix epoch
me string the user's mailbox (username)
myhost string the user's local hostname
myname string the user's name
putstrf expr print \fIstr\fR in a fixed width
putnum expr print \fInum\fR
putnumf expr print \fInum\fR in a fixed width
-.\" addtoseq literal add msg to sequence (LBL option)
putlit expr print \fIstr\fR without space compression
zputlit expr print \fIstr\fR without space compression;
\fIstr\fR must occupy no width on display
date2local date coerce date to local timezone
date2gmt date coerce date to GMT
dst date integer daylight savings in effect? (0 or 1)
-clock date integer seconds since the UNIX epoch
+clock date integer seconds since the Unix epoch
rclock date integer seconds prior to current time
tws date string official RFC 822 rendering
pretty date string user-friendly rendering
.PP
It should be noted here that the side effects of function and component
escapes are still in force and, as a result, each component test in the
-.B if\-elseif\-else\-endif
+.B if-elseif-else-endif
clause sets the
.I str
register.