X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ed3214f1518b36c8b96a1a17be4af0a708ea25e3..df02833a36f5525edb5b274fb67ca46aa4e5e6c5:/man/mhshow.man diff --git a/man/mhshow.man b/man/mhshow.man index d25e6ebc..03ca5f82 100644 --- a/man/mhshow.man +++ b/man/mhshow.man @@ -224,9 +224,9 @@ The display string may contain the following escapes: .PP .RS 5 .nf -.ta \w'%F 'u +.ta \w'%F 'u %a Insert parameters from Content-Type field -%{charset} Insert the charset value from the Content-Type field +%{parameter} Insert the parameter value from the Content-Type field %e exclusive execution %f Insert filename containing content %F %e, %f, and stdin is terminal not content @@ -258,13 +258,15 @@ control-\\) will tell .B mhshow to wrap things up immediately. .PP -The {charset} escape is typically used in a command line argument that -should only be present if it has a non-null value. Shell parameter -expansion can construct the argument only when it is non-null, e.g., +The {parameter} escape is typically used in a command line argument +that should only be present if it has a non-null value. Its value +will be wrapped with single quotes if the escape is not so wrapped. +Shell parameter expansion can construct the argument only when it is +non-null, e.g., .PP .RS 5 .nf -mhshow-show-text/html: charset="%{charset}"; +mhshow-show-text/html: charset=%{charset}; w3m ${charset:+-I $charset} -T text/html %F .fi .RE @@ -319,8 +321,8 @@ mhshow-show-application/PostScript: lpr -Pps .fi .RE .PP -If an f- or F-escape is not quoted with single quotes, double quotes, -or backticks, its expansion will be wrapped with single quotes. +If an f- or F-escape is not quoted with single quotes, its expansion +will be wrapped with single quotes. .PP Finally, .B mhshow