These instances render as U+2212 MINUS SIGN when U+002D HYPHEN-MINUS
is intended.
E.g. `${parameter:−word}' in the HTML manual [1].
[1]
https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html
---
doc/bashref.texi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/bashref.texi b/doc/bashref.texi
index 0ac623d1..a5bb62e8 100644
--- a/doc/bashref.texi
+++ b/doc/bashref.texi
@@ -2314,7 +2314,7 @@ is not null; if the colon is omitted, the operator tests
only for existence.
@table @code
-@item $@{@var{parameter}:@minus{}@var{word}@}
+@item $@{@var{parameter}:-@var{word}@}
If @var{parameter} is unset or null, the expansion of
@var{word} is substituted.
Otherwise, the value of @var{parameter} is substituted.
@@ -3183,7 +3183,7 @@ using the current locale's collating sequence and
character set, matches.
If the first character following the
@samp{[} is a @samp{!} or a @samp{^}
then any character not within the range matches.
-To match a @samp{@minus{}}, include it as the first
+To match a @samp{-}, include it as the first
or last character in the set.
To match a @samp{]}, include it as the first
character in the set.
@@ -3524,7 +3524,7 @@ input (or file descriptor @var{n} if @var{n} is
specified) for a command.
The format of here-documents is:
@example
-[@var{n}]<<[@minus{}]@var{word}
+[@var{n}]<<[-]@var{word}
@var{here-document}
@var{delimiter}
@end example
--
2.51.0