Factor trim format function out
[mmh] / man / mh-format.man5
index ed0a2dc..3935872 100644 (file)
@@ -221,7 +221,7 @@ used depends on the function, as listed below.
 .\"  The latter can be used as a single expression for %<.
 .\"  It does make a difference for (decode) because in the former
 .\"  way, wrapping (decode) with (void) can be necessary.
-.\"  What is the prefered way?
+.\"  What is the preferred way?
 .PP
 Component escapes write the value of their message header in
 .IR str .
@@ -291,7 +291,8 @@ compval     comp    integer Set \fInum\fR to `\fBatoi\fR(\fIcomp\fR\^)'
 decode expr    string  decode \fIstr\fR as RFC-2047 (MIME-encoded)
                        component and print it
 unquote        expr    string  remove RFC-2822 quotes from \fIstr\fR
-trim   expr            trim trailing white-space from \fIstr\fR
+unmailto       expr    string  remove `mailto:' and < > from \fIstr\fR
+trim   expr            trim white-space from \fIstr\fR
 putstr expr            print \fIstr\fR
 putstrf        expr            print \fIstr\fR in a fixed width
 putnum expr            print \fInum\fR