X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/28556f092ff2516e327299ff2ffc4ad119be976a..1580ba033034910bb17eeea9d1814a5bb478ff15:/man/mh-format.man diff --git a/man/mh-format.man b/man/mh-format.man index 3e6c9aa9..59d55d60 100644 --- a/man/mh-format.man +++ b/man/mh-format.man @@ -1,7 +1,7 @@ -.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 @@ -115,7 +115,7 @@ These are combined into the conditional execution construct: .nf .RI "%< " condition " " "format-text" .RI "%? " condition " " "format-text" - \&... + ... .RI "%| " "format-text" %> .fi @@ -123,7 +123,7 @@ These are combined into the conditional execution construct: .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". @@ -249,7 +249,7 @@ size integer size of message 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 @@ -293,7 +293,6 @@ putstr expr print \fIstr\fR 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 @@ -367,7 +366,7 @@ szone date integer timezone explicit? 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 @@ -533,7 +532,7 @@ register for the width) a better implementation would look like: .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.