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