bug-bash
[Top][All Lists]
Advanced

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

[PATCH 05/13] lib/readline/doc/history.3: Fix style minutia.


From: G. Branden Robinson
Subject: [PATCH 05/13] lib/readline/doc/history.3: Fix style minutia.
Date: Thu, 28 Mar 2024 16:11:37 -0500

Set a period in the intended face (roman, not bold).

Stop breaking a line in the middle of a sentence without motivation.

Diff of rendering:

(groff Git, 1.23.0, 1.22.4; mandoc; Heirloom Doctools nroff)
-     G      Apply the following “s”
-             or “&” modifier once to each word in the event line.
+     G      Apply the following “s” or “&” modifier once to each word in the
+            event line.

Fixes (from "nroff -rCHECKSTYLE=3 -man" using groff 1.23.0):
an.tmac:lib/readline/doc/history.3:73: style: .BR expects at least 2 arguments, 
got 1
an.tmac:lib/readline/doc/history.3:320: style: 1 leading space(s) on input line
---
 lib/readline/doc/history.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/readline/doc/history.3 b/lib/readline/doc/history.3
index 76703833..56d910cd 100644
--- a/lib/readline/doc/history.3
+++ b/lib/readline/doc/history.3
@@ -70,7 +70,7 @@ .SH DESCRIPTION
 .SH "HISTORY EXPANSION"
 The history library supports a history expansion feature that
 is identical to the history expansion in
-.BR bash.
+.BR bash .
 This section describes what syntax features are available.
 .PP
 History expansions introduce words from the history list into
@@ -317,7 +317,7 @@ .SS Modifiers
 .B G
 Apply the following
 .Q \fBs\fP
- or
+or
 .Q \fB&\fP
 modifier once to each word in the event line.
 .PD
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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