]> diplodocus.org Git - nmh/blobdiff - man/mh-format.man
Output a newline if the last character in a text/plain part is
[nmh] / man / mh-format.man
index 38d313897e1836cf1ef34649eb9894f185fb6e7e..dc2d9b0cb598e65710399ce55ba4714f85b2c5c9 100644 (file)
@@ -290,6 +290,10 @@ decode     expr    string  decode \fIstr\fR as RFC 2047 (MIME-encoded)
                        component
 unquote        expr    string  remove RFC 2822 quotes from \fIstr\fR
 trim   expr            trim trailing whitespace from \fIstr\fR
+kilo   expr    string  express in SI units: 15.9K, 2.3M, etc.
+                       %(kilo) scales by factors of 1000,
+kibi   expr    string  express in IEC units: 15.5Ki, 2.2Mi.
+                       %(kibi) scales by factors of 1024.
 putstr expr            print \fIstr\fR
 putstrf        expr            print \fIstr\fR in a fixed width
 putnum expr            print \fInum\fR
@@ -457,7 +461,7 @@ attributes back to their default setting.
 .PP
 All of these terminal escape should be used in conjunction with
 (\fIzputlit\fR\^) (preferred) or (\fIputlit\fR\^), as the normal
-(\fputstr\fR\^) function will strip out control characters.
+(\fIputstr\fR\^) function will strip out control characters.
 .PP
 The available output width is kept in an internal register; any output
 past this width will be truncated.  The one exception to this is