Re: New word splitting semantics for kvpair compound assignment
Chet Ramey <[email protected]>
| Newsgroups | gmane.comp.shells.bash.bugs |
|---|---|
| Message-ID | <[email protected]> |
On 8/19/26 12:44 AM, Zachary Santer wrote: > Bash Version: 5.3 > Patch Level: 0 > Release Status: maint > > git commit 2f7eb80c77 > > This has no effect on key-value pair compound assignment as part of a > declaration command. OK. Please test out the compound assignment statement behavior. > I know that bash by default can't actually export indexed or > associative arrays into the environment, but was that last bit just > undocumented behavior, or was that not supposed to happen at all? You can set the export attribute, it just doesn't get added to the environment. > I have a hard time believing that anyone would take advantage of the > prior key-value pair compound assignment behavior. I don't see a point > to the new kvpair_split shopt option. OK. It's enabled by default. > The description of the readonly command in the devel branch doc/bash.1 > includes a little typo: >> This sets the value of the variable ~~is~~ to value while modifying the readonly attribute. Thanks. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/