X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=man%2Fmh-format.man5;h=3935872ed2a6d8068014e94e78607451b7b49511;hp=20b3937b362933eb28fccb1c5d0d7577b8039cf0;hb=18591f8e001ecedbee48a51c1d1f08ebaa1c15c8;hpb=102d1d8f2f783d7daa43c4b933bac85fc8de7fab diff --git a/man/mh-format.man5 b/man/mh-format.man5 index 20b3937..3935872 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,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