[PATCH] man-pages.7: Correct escaping of \~ advice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



\e[ti] renders as \[ti] -- using \[ti] in a man page will produce a
literal tilde (~), not a nonbreaking space.

The intention here is to recommend \~, which produces a nonbreaking
space, so we need some more escaping.

Apply bold formatting too, which I believe is in accordance with the
advice in this section.

Signed-off-by: Brian Norris <briannorris@xxxxxxxxxxxx>
---
 man/man7/man-pages.7 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/man/man7/man-pages.7 b/man/man7/man-pages.7
index c7251d1340a5..007b9e7a2fc5 100644
--- a/man/man7/man-pages.7
+++ b/man/man7/man-pages.7
@@ -725,7 +725,8 @@ .SS Formatting conventions (general)
 in italic format, for example,
 .IR "man 7 man-pages" .
 In this case, it may be worth using nonbreaking spaces
-(\e[ti]) at suitable places in the command.
+.RB ( \[rs]\[ti] )
+at suitable places in the command.
 Command options should be written in italics (e.g.,
 .IR \-l ).
 .P
-- 
2.45.2.627.g7a2c4fd464-goog





[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux