new "@k" parameter transformation; minor completion fix for uncommon case

This commit is contained in:
Chet Ramey
2021-08-23 15:54:49 -04:00
parent 2adf06d9f8
commit ea32b611f7
19 changed files with 221 additions and 9 deletions
+6 -2
View File
@@ -5,12 +5,12 @@
.\" Case Western Reserve University
.\" chet.ramey@case.edu
.\"
.\" Last Change: Tue Aug 10 11:06:20 EDT 2021
.\" Last Change: Mon Aug 23 10:08:28 EDT 2021
.\"
.\" bash_builtins, strip all but Built-Ins section
.if \n(zZ=1 .ig zZ
.if \n(zY=1 .ig zY
.TH BASH 1 "2021 August 10" "GNU Bash 5.1"
.TH BASH 1 "2021 August 23" "GNU Bash 5.1"
.\"
.\" There's some problem with having a `@'
.\" in a tagged paragraph with the BSD man macros.
@@ -3461,6 +3461,10 @@ indexed and associative arrays as a sequence of quoted key-value pairs
.B a
The expansion is a string consisting of flag values representing
\fIparameter\fP's attributes.
.TP
.B k
Like the K transformation, but expands the keys and values of
indexed and associative arrays to separate words after word splitting.
.PD
.PP
If