By luck, at present, input like

times, as necessary, to indicate multiple
levels of indirection.  The default is
.Q "+\ " .

does not get set as

times, as necessary, to indicate multiple
levels of indirection.  The default is “+
”.

by any of groff {1.22.4,1.23.0,git}, mandoc, Heirloom Doctools, or DWB
3.3 nroffs using their default line lengths...but it could, without this
patch.

In my opinion, it is not necessary to make _internal_ spaces in a
quotation unbreakable.  Thus I leave cases like

.Q "bind \-x"

alone.
---
 doc/bash.1 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/bash.1 b/doc/bash.1
index b1257639..f532d628 100644
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -2624,14 +2624,14 @@ .SS Shell Variables
 .SM
 .B PROMPTING
 below) and used as the primary prompt string.  The default value is
-.Q "\es\-\ev\e$ " .
+.Q "\es\-\ev\e$\ " .
 .TP
 .B PS2
 The value of this parameter is expanded as with
 .SM
 .B PS1
 and used as the secondary prompt string.  The default is
-.Q "> " .
+.Q ">\ " .
 .TP
 .B PS3
 The value of this parameter is used as the prompt for the
@@ -2653,7 +2653,7 @@ .SS Shell Variables
 .B PS4
 is replicated multiple times, as necessary, to indicate multiple
 levels of indirection.  The default is
-.Q "+ " .
+.Q "+\ " .
 .TP
 .B SHELL
 This variable expands to the full pathname to the shell.
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature

Reply via email to