fix a bug in word splitting that could potentially drop the first word; complete -p now prefixes the compspec for commands that begin with -' with --'; several builtins updated to use $'...' quoting for output when appropriate

This commit is contained in:
Chet Ramey
2026-04-02 11:02:52 -04:00
parent 55f721c51e
commit 1cbe8c04bb
14 changed files with 199 additions and 149 deletions
+1 -1
View File
@@ -8704,7 +8704,7 @@ There is no maximum
limit on the size of an array, nor any requirement that members
be indexed or assigned contiguously.
Indexed arrays are referenced using arithmetic expressions
that must expand to an integer (@pxref{Shell Arithmetic}))
that must expand to an integer (@pxref{Shell Arithmetic})
and are zero-based;
associative arrays use arbitrary strings.
Unless otherwise noted, indexed array indices must be non-negative integers.