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:
Chet Ramey
2026-08-17 10:09:07 -04:00
parent 9c8a70bc9e
commit 2f7eb80c77
38 changed files with 1083 additions and 1012 deletions
+20 -4
View File
@@ -6,9 +6,9 @@
.\" Case Western Reserve University
.\" chet.ramey@case.edu
.\"
.\" Last Change: Mon Oct 6 09:58:21 EDT 2025
.\" Last Change: Mon Aug 10 10:05:09 EDT 2026
.\"
.TH READLINE 3 "2025 October 6" "GNU Readline 8.3"
.TH READLINE 3 "2026 August 10" "GNU Readline 8.3"
.\" Ensure this string is initialized to avoid groff warnings.
.ds zX \" empty
.\"
@@ -1166,14 +1166,30 @@ This command sets the region to the matched text and activates the region.
.TP
.B non\-incremental\-reverse\-search\-history (M\-p)
Search backward through the history starting at the current line
using a non-incremental search for a string supplied by the user.
using a non-incremental search
for a string supplied by the user.
The search string may match anywhere in a history line.
.TP
.B non\-incremental\-forward\-search\-history (M\-n)
Search forward through the history using a non-incremental search
Search forward through the history starting at the current line
using a non-incremental search
for a string supplied by the user.
The search string may match anywhere in a history line.
.TP
.B non\-incremental\-reverse\-search\-history\-again ()
Search backward through the history starting at the current line
using a non-incremental search
for the last non-incremental search string used.
If there is no previous search string, this command returns an error.
The search string may match anywhere in a history line.
.TP
.B non\-incremental\-forward\-search\-history\-again ()
Search forward through the history starting at the current line
using a non-incremental search
for the last non-incremental search string used.
If there is no previous search string, this command returns an error.
The search string may match anywhere in a history line.
.TP
.B history\-search\-backward
Search backward through the history for the string of characters
between the start of the current line and the point.
+14 -1
View File
@@ -1449,7 +1449,6 @@ This command sets the region to the matched text and activates the region.
@item non-incremental-reverse-search-history (M-p)
Search backward starting at the current line and moving ``up''
through the history as necessary using a non-incremental search
for a string supplied by the user.
The search string may match anywhere in a history line.
@@ -1460,6 +1459,20 @@ through the history as necessary using a non-incremental search
for a string supplied by the user.
The search string may match anywhere in a history line.
@item non-incremental-reverse-search-history-again ()
Search backward starting at the current line and moving ``up''
through the history as necessary using a non-incremental search
for the last non-incremental search string used.
If there is no previous search string, this command returns an error.
The search string may match anywhere in a history line.
@item non-incremental-forward-search-history-again ()
Search forward starting at the current line and moving ``down''
through the history as necessary using a non-incremental search
for the last non-incremental search string used.
If there is no previous search string, this command returns an error.
The search string may match anywhere in a history line.
@item history-search-backward ()
Search backward through the history for the string of characters
between the start of the current line and the point.
+3 -3
View File
@@ -5,7 +5,7 @@ Copyright (C) 1988-2026 Free Software Foundation, Inc.
@set EDITION 8.3
@set VERSION 8.3
@set UPDATED 9 July 2026
@set UPDATED-MONTH July 2026
@set UPDATED 10 August
@set UPDATED-MONTH August 2026
@set LASTCHANGE Thu Jul 9 09:20:35 EDT 2026
@set LASTCHANGE Mon Aug 10 10:08:56 EDT 2026