[PATCH 5/8] doc/bash.1: add man page cross references
From:
G. Branden Robinson
Subject:
[PATCH 5/8] doc/bash.1: add man page cross references
Date:
Wed, 10 Jan 2024 10:19:07 -0600
Cross-reference arc4random(3) and stty(1) man pages. Protect the former
from hyphenation.
Also break an input line after a sentence.
---
doc/bash.1 | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/doc/bash.1 b/doc/bash.1
index f532d628..8943e01e 100644
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -2105,9 +2105,12 @@ .SS Shell Variables
.TP
.B SRANDOM
This variable expands to a 32-bit pseudo-random number each time it is
-referenced. The random number generator is not linear on systems that
-support \f(CW/dev/urandom\fP or \fIarc4random\fP, so each returned number
-has no relationship to the numbers preceding it.
+referenced.
+The random number generator is not linear on systems that support
+\f(CW/dev/urandom\fP
+or
+.IR \%arc4random (3),
+so each returned number has no relationship to the numbers preceding it.
The random number generator cannot be seeded, so assignments to this
variable have no effect.
If
@@ -6834,8 +6837,7 @@ .SS Commands for Changing Text
.TP
.B \fIend\-of\-file\fP (usually C\-d)
The character indicating end-of-file as set, for example, by
-.if t \f(CWstty\fP.
-.if n ``stty''.
+.IR stty (1).
If this character is read when there are no characters
on the line, and point is at the beginning of the line, readline
interprets it as the end of input and returns
--
2.30.2