From: Ralph Corderoy Date: Thu, 21 Sep 2017 13:21:38 +0000 (+0100) Subject: man: Replace csh `%' prompt in examples with sh's `$'. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/1da3cc1c0b20a17997b4a1dd255016d6c801abf5 man: Replace csh `%' prompt in examples with sh's `$'. Youngsters these days probably wouldn't recognise csh. None of the commands needed changing due to syntax differences. --- diff --git a/man/mhparam.man b/man/mhparam.man index 63c2b703..656894db 100644 --- a/man/mhparam.man +++ b/man/mhparam.man @@ -85,52 +85,52 @@ Examples: .RS 5 .nf .ta \w'AliasFile:'u+2n -% mhparam path +$ mhparam path Mail -% mhparam mhlproc +$ mhparam mhlproc %nmhlibexecdir%/mhl -% mhparam \-component Path +$ mhparam \-component Path Path: Mail -% mhparam AliasFile rmmproc +$ mhparam AliasFile rmmproc AliasFile: aliases rmmproc: rmmproc -% mhparam \-nocomponent AliasFile rmmproc +$ mhparam \-nocomponent AliasFile rmmproc aliases rmmproc -% mhparam path nonexistent context +$ mhparam path nonexistent context Path: Mail context: context -% mhparam version +$ mhparam version %nmhversion% -% mhparam etcdir +$ mhparam etcdir %nmhetcdir% -% mhparam libexecdir +$ mhparam libexecdir %nmhlibexecdir% -% mhparam spoollocking +$ mhparam spoollocking %default_locking% -% mhparam datalocking +$ mhparam datalocking fcntl -% mhparam sasl +$ mhparam sasl cyrus_sasl -% mhparam tls +$ mhparam tls tls -% mhparam iconv +$ mhparam iconv iconv -% mhparam oauth +$ mhparam oauth oauth .fi .RE @@ -140,7 +140,7 @@ is also useful in backquoted operations: .PP .RS 5 .nf -% fgrep cornell.edu \`mhpath +\`/\`mhparam aliasfile\` +$ fgrep cornell.edu \`mhpath +\`/\`mhparam aliasfile\` .fi .SH "EXIT STATUS" The exit status is zero if all components are found, diff --git a/man/mhpath.man b/man/mhpath.man index 8b684d8f..b8674857 100644 --- a/man/mhpath.man +++ b/man/mhpath.man @@ -61,43 +61,43 @@ Cur is 4. .PP .RS 5 .nf -% mhpath +$ mhpath /r/phyl/Mail/foo -% mhpath all +$ mhpath all /r/phyl/Mail/foo/3 /r/phyl/Mail/foo/5 /r/phyl/Mail/foo/6 -% mhpath 2001 +$ mhpath 2001 mhpath: message 2001 out of range 1-6 -% mhpath 1\-2001 +$ mhpath 1\-2001 /r/phyl/Mail/foo/3 /r/phyl/Mail/foo/5 /r/phyl/Mail/foo/6 -% mhpath new +$ mhpath new /r/phyl/Mail/foo/7 -% mhpath last new +$ mhpath last new /r/phyl/Mail/foo/6 /r/phyl/Mail/foo/7 -% mhpath last\-new +$ mhpath last\-new mhpath: bad message list last\-new -% mhpath cur +$ mhpath cur /r/phyl/Mail/foo/4 -% mhpath 1\-2 +$ mhpath 1\-2 mhpath: no messages in range 1\-2 -% mhpath first:2 +$ mhpath first:2 /r/phyl/Mail/foo/3 /r/phyl/Mail/foo/5 -% mhpath 1 2 +$ mhpath 1 2 /r/phyl/Mail/foo/1 /r/phyl/Mail/foo/2 .fi @@ -108,9 +108,9 @@ is also useful in backquoted operations: .PP .RS 5 .nf -% cd \`mhpath +inbox\` +$ cd \`mhpath +inbox\` -% echo \`mhpath +\` +$ echo \`mhpath +\` /r/phyl/Mail .fi .RE diff --git a/man/mhstore.man b/man/mhstore.man index ac66b86b..cb10d62c 100644 --- a/man/mhstore.man +++ b/man/mhstore.man @@ -407,15 +407,15 @@ following fashion: .PP .RS 5 .nf -% mhlist 5-8 +$ mhlist 5-8 msg part type/subtype size description 5 message/partial 47K part 1 of 4 6 message/partial 47K part 2 of 4 7 message/partial 47K part 3 of 4 8 message/partial 18K part 4 of 4 -% mhstore 5-8 +$ mhstore 5-8 reassembling partials 5,6,7,8 to folder inbox as message 9 -% mhlist -verbose 9 +$ mhlist -verbose 9 msg part type/subtype size description 9 application/octet-stream 118K (extract with uncompress | tar xvpf -) diff --git a/man/sendfiles.man b/man/sendfiles.man index 8b98f9eb..e6e84a53 100644 --- a/man/sendfiles.man +++ b/man/sendfiles.man @@ -113,22 +113,22 @@ subsequently uncompress and untar it. For instance: .PP .RS 5 .nf -% mhlist 5-8 +$ mhlist 5-8 msg part type/subtype size description 5 message/partial 47K part 1 of 4 6 message/partial 47K part 2 of 4 7 message/partial 47K part 3 of 4 8 message/partial 18K part 4 of 4 -% mhstore 5-8 +$ mhstore 5-8 reassembling partials 5,6,7,8 to folder inbox as message 9 -% mhlist -verbose 9 +$ mhlist -verbose 9 msg part type/subtype size description 9 application/octet-stream 118K (extract with uncompress | tar xvpf -) type=tar conversions=compress -% mhstore 9 -% uncompress < 9.tar.Z | tar xvpf - +$ mhstore 9 +$ uncompress < 9.tar.Z | tar xvpf - .fi .RE .PP @@ -140,21 +140,21 @@ will automatically do the extraction for you: .PP .RS 5 .nf -% mhlist 5-8 +$ mhlist 5-8 msg part type/subtype size description 5 message/partial 47K part 1 of 4 6 message/partial 47K part 2 of 4 7 message/partial 47K part 3 of 4 8 message/partial 18K part 4 of 4 -% mhstore 5-8 +$ mhstore 5-8 reassembling partials 5,6,7,8 to folder inbox as message 9 -% mhlist -verbose 9 +$ mhlist -verbose 9 msg part type/subtype size description 9 application/octet-stream 118K (extract with uncompress | tar xvpf -) type=tar conversions=compress -% mhstore -auto 9 +$ mhstore -auto 9 -- tar listing appears here as files are extracted .fi .RE