[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/18] doc/bash.1: completely boldface inline literals
From: |
G. Branden Robinson |
Subject: |
[PATCH 10/18] doc/bash.1: completely boldface inline literals |
Date: |
Wed, 31 Jan 2024 02:42:31 -0600 |
When discussing literals like
"$@"
...boldface the double quotes too.
---
doc/bash.1 | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/doc/bash.1 b/doc/bash.1
index 200cf00e..e278c7c3 100644
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -1453,15 +1453,20 @@ .SS Special Parameters
In contexts where word splitting is not performed,
this expands to a single word
with each positional parameter separated by a space.
-When the
-expansion occurs within double quotes, each parameter expands to a
-separate word. That is, \(dq\fB$@\fP\(dq is equivalent to
-\(dq\fB$1\fP\(dq\ \(dq\fB$2\fP\(dq\ .\|.\|.
+When the expansion occurs within double quotes,
+each parameter expands to a separate word.
+That is,
+.B \(dq$@\(dq
+is equivalent to
+.B \(dq$1\(dq\ \(dq$2\(dq
+\&.\|.\|.
If the double-quoted expansion occurs within a word, the expansion of
the first parameter is joined with the beginning part of the original
word, and the expansion of the last parameter is joined with the last
part of the original word.
-When there are no positional parameters, "\fB$@\fP" and
+When there are no positional parameters,
+.B \(dq$@\(dq
+and
.B $@
expand to nothing (i.e., they are removed).
.TP
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 10/18] doc/bash.1: completely boldface inline literals,
G. Branden Robinson <=