bug-bash
[Top][All Lists]
Advanced

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

[PATCH 11/18] doc/bash.1: drop unneeded quotes from macro args


From: G. Branden Robinson
Subject: [PATCH 11/18] doc/bash.1: drop unneeded quotes from macro args
Date: Wed, 31 Jan 2024 02:42:40 -0600

A *roff macro argument need be quoted only if it contains spaces (and
spaces within escape sequences don't count; for Ossanna/Kernighan troff,
that codicil applies only to the unadjustable break escape sequence,
`\ `, which this document uses occasionally--`\~` is preferable but not
as portable).
---
 doc/bash.1 | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/doc/bash.1 b/doc/bash.1
index e278c7c3..ffbc97f4 100644
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -2253,7 +2253,7 @@ .SS Shell Variables
 .B EMACS
 If \fBbash\fP finds this variable in the environment when the shell starts
 with value
-.Q "t" ,
+.Q t ,
 it assumes that the shell is running in an Emacs shell buffer and disables
 line editing.
 .TP
@@ -2295,7 +2295,7 @@ .SS Shell Variables
 .B FIGNORE
 is excluded from the list of matched filenames.
 A sample value is
-.Q ".o:\(ti" .
+.Q .o:\(ti .
 .TP
 .B FUNCNEST
 If set to a numeric value greater than 0, defines a maximum function
@@ -2654,14 +2654,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
@@ -2684,7 +2684,7 @@ .SS Shell Variables
 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.
@@ -5586,7 +5586,7 @@ .SH "JOB CONTROL"
 .Q "stty tostop" ,
 write to the terminal.
 Background processes which attempt to read from (write to when
-.Q "tostop"
+.Q tostop
 is in effect) the terminal are sent a
 .SM
 .B SIGTTIN (SIGTTOU)
@@ -6175,7 +6175,7 @@ .SS "Readline Variables"
 The default value is the string that puts the terminal in standout mode,
 as obtained from the terminal's terminfo description.
 A sample value might be
-.Q "\ee[01;33m" .
+.Q \ee[01;33m .
 .TP
 .B active\-region\-end\-color
 A string variable that
@@ -6191,7 +6191,7 @@ .SS "Readline Variables"
 The default value is the string that restores the terminal from standout mode,
 as obtained from the terminal's terminfo description.
 A sample value might be
-.Q "\ee[0m" .
+.Q \ee[0m .
 .TP
 .B bell\-style (audible)
 Controls what happens when readline wants to ring the terminal bell.
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]