[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 02/18] doc/bash.1: fix bug in new `Q` macro
From: |
G. Branden Robinson |
Subject: |
[PATCH 02/18] doc/bash.1: fix bug in new `Q` macro |
Date: |
Wed, 31 Jan 2024 02:41:05 -0600 |
I didn't pay close enough attention to Documenter's Workbench 3.3 troff
output when submitting the original version of this macro. Add a
necessary backslash to escape the newline at the beginning of a
conditional block. This omission was causing DWB to put a blank line on
the output every time it hit a "Q" macro call. This did not delete any
text from the output, but it was surely ugly.
Diff of rendering (DWB):
- one with the highest index) is
-
- "main". This variable exists only when a shell func-
- tion is executing. Assignments to FUNCNAME have no
- effect. If FUNCNAME is unset, it loses its special
- properties, even if it is subsequently reset.
+ one with the highest index) is "main". This variable
+ exists only when a shell function is executing.
+ Assignments to FUNCNAME have no effect. If FUNCNAME is
+ unset, it loses its special properties, even if it is
+ subsequently reset.
---
doc/bash.1 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/bash.1 b/doc/bash.1
index b02e7527..1c495378 100644
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -52,14 +52,14 @@
.\"
.de Q
.ie \n(.g \(lq\\$1\(rq\\$2
-.el \{
+.el \{\
. if t ``\\$1''\\$2
. if n "\\$1"\\$2
.\}
..
.de QN
.ie \n(.g \%\(lq\\$1\(rq\\$2
-.el \{
+.el \{\
. if t \%``\%\\$1''\\$2
. if n \%"\%\\$1"\\$2
.\}
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 02/18] doc/bash.1: fix bug in new `Q` macro,
G. Branden Robinson <=