Re: New word splitting semantics for kvpair compound assignment

Martin D Kealey <[email protected]>
Newsgroups gmane.comp.shells.bash.bugs
Message-ID <CAN_U6MXmz+S0796RzM8QsvSqnJiyU_61=-S-4NXSHy-1KGyRXA@mail.gmail.com>
On Thu, 20 Aug 2026 at 01:18, Chet Ramey <[email protected]> wrote:

> OK. It's enabled by default.


When creating a new option, how is the default chosen, between near
equivalents:

   - shopt -s kvpair_split
   - shopt -u no_kvpair_split


There's a difference when you consider BASHOPTS: an on-by-default option
can't be affected by those variables.

I can see arguments either way, but I thought I should ask if this was a
deliberate choice?

-Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.