diff options
| author | Brian Norris <briannorris@chromium.org> | 2024-06-13 13:53:27 -0700 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2024-06-13 23:39:46 +0200 |
| commit | f1b6abcf7550f6eaba08ca91d6e05d77beee5766 (patch) | |
| tree | a97849fb9b57aa93018e4885e1c55b3900f31cfb /man/man7/man-pages.7 | |
| parent | a79c8d7736f2fbcf8fa71940217601b030227556 (diff) | |
| download | man-pages-f1b6abcf7550f6eaba08ca91d6e05d77beee5766.tar.gz | |
man-pages.7: Correct escaping of \~ advice
\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.
Fixes: 36f73ba37945 ("man-pages.7: Recommend using \[..] instead of \(.. escapes")
Signed-off-by: Brian Norris <briannorris@chromium.org>
Message-ID: <20240613205329.3240669-1-briannorris@chromium.org>
Cc: "G. Branden Robinson" <branden@debian.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man/man7/man-pages.7')
| -rw-r--r-- | man/man7/man-pages.7 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/man/man7/man-pages.7 b/man/man7/man-pages.7 index c7251d1340..007b9e7a2f 100644 --- a/man/man7/man-pages.7 +++ b/man/man7/man-pages.7 @@ -725,7 +725,8 @@ If the command is short, then it can be included inline in the text, 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 |
