mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-24 11:51:17 +02:00
change expansion for key-value pair compound assignment to associative arrays to split all words before identifying keys and values; controlled by a new shopt option: kvpair_split, enabled by default; new `loadassoc' loadable builtin to load an associative array from a set of key-value arguments
This commit is contained in:
+5
-1
@@ -45,8 +45,12 @@ in printf(3), printf interprets:
|
||||
%(fmt)T output the date-time string resulting from using FMT as a format
|
||||
string for strftime(3)
|
||||
|
||||
Like printf(3), printf can reference arguments in non-sequential order.
|
||||
A format specifier %N$, where N is a decimal integer greater than 0,
|
||||
refers to the Nth argument supplied to printf.
|
||||
|
||||
The format is re-used as necessary to consume all of the arguments. If
|
||||
there are fewer arguments than the format requires, extra format
|
||||
there are fewer arguments than the format requires, extra format
|
||||
specifications behave as if a zero value or null string, as appropriate,
|
||||
had been supplied.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user