X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=man%2Fmh-format.man5;h=703e633bb5a684a70b8eaf6a016e59fa8ba00840;hp=20b3937b362933eb28fccb1c5d0d7577b8039cf0;hb=fc9279e818dfc96c63a5d75a89080cc68cfe1170;hpb=102d1d8f2f783d7daa43c4b933bac85fc8de7fab diff --git a/man/mh-format.man5 b/man/mh-format.man5 index 20b3937..703e633 100644 --- a/man/mh-format.man5 +++ b/man/mh-format.man5 @@ -215,6 +215,13 @@ or .I str is used as the argument: which register is used depends on the function, as listed below. +.\" What is the difference between these two lines: +.\" %(void{comp})%(trim)%(putstr) +.\" %(putstr(trim{comp})) +.\" 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 preferred way? .PP Component escapes write the value of their message header in .IR str . @@ -284,6 +291,7 @@ 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 +unmailto expr string remove `mailto:' and < > from \fIstr\fR trim expr trim trailing white-space from \fIstr\fR putstr expr print \fIstr\fR putstrf expr print \fIstr\fR in a fixed width