bug-bash
[Top][All Lists]
Advanced

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

[PATCH 3/9] doc/bash.1, doc/bashref.texi: Align wording.


From: G. Branden Robinson
Subject: [PATCH 3/9] doc/bash.1, doc/bashref.texi: Align wording.
Date: Mon, 16 Dec 2024 11:47:46 -0600

* Perform Kemper notectomy.
* Break lines in the same places to ease diffing.
* Align verb tenses.
---
 doc/bash.1       | 11 ++++++-----
 doc/bashref.texi | 28 ++++++++++++++++------------
 2 files changed, 22 insertions(+), 17 deletions(-)

diff --git a/doc/bash.1 b/doc/bash.1
index 54ebb696..676e9124 100644
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -2330,7 +2330,8 @@ .SS "Shell Variables"
 .TP
 .B BASH_XTRACEFD
 If set to an integer corresponding to a valid file descriptor,
-\fBbash\fP writes the trace output generated when
+.B bash
+writes the trace output generated when
 .Q "set \-x"
 is enabled to that file descriptor,
 instead of the standard error.
@@ -2343,12 +2344,12 @@ .SS "Shell Variables"
 .B BASH_XTRACEFD
 or assigning it the empty string causes the
 trace output to be sent to the standard error.
-Note that setting
+Setting
 .SM
 .B BASH_XTRACEFD
-to 2 (the standard error file
-descriptor) and then unsetting it will result in the standard error
-being closed.
+to 2
+(the standard error file descriptor)
+and then unsetting it will result in the standard error being closed.
 .TP
 .B CDPATH
 The search path for the
diff --git a/doc/bashref.texi b/doc/bashref.texi
index dc7e36c0..ee9643aa 100644
--- a/doc/bashref.texi
+++ b/doc/bashref.texi
@@ -6855,11 +6855,11 @@ @node Top
 @code{BASH_XTRACEFD}
 or assigning it the empty string causes the
 trace output to be sent to the standard error.
-Note that setting
+Setting
 @code{BASH_XTRACEFD}
-to 2 (the standard error file
-descriptor) and then unsetting it will result in the standard error
-being closed.
+to 2
+(the standard error file descriptor)
+and then unsetting it will result in the standard error being closed.
 
 @item CHILD_MAX
 Set the number of exited child status values for the shell to remember.
@@ -7866,20 +7866,24 @@ @node Top
 
 @subsubheading Invoked by remote shell daemon
 
-Bash attempts to determine when it is being run with its standard input
+Bash
+attempts to determine when it is being run with its standard input
 connected to a network connection, as when executed by
 the historical and rarely-seen remote shell daemon, usually @code{rshd},
 or the secure shell daemon @code{sshd}.
-If Bash
+If
+Bash
 determines it is being run non-interactively in this fashion,
-it reads and executes commands from @file{~/.bashrc}, if that
-file exists and is readable.
-Bash does not read this file if invoked as @code{sh}.
+it reads and executes commands from
+@file{~/.bashrc},
+if that file exists and is readable.
+Bash
+does not read this file if invoked as @command{sh}.
 The
 @option{--norc}
-option inhibits this behavior, and the
-@option{--rcfile}
-option makes Bash use a different file instead of
+option will inhibit this behavior, and the
+@option{--rcfile} option
+will make Bash use a different file instead of
 @file{~/.bashrc},
 but neither
 @code{rshd} nor @code{sshd} generally invoke the shell with those
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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