On 12/17/20 10:13 AM, Chet Ramey wrote:
On 12/17/20 9:29 AM, Léa Gris wrote:
Here is a Bash model of how, associative array support could be added to
mapfile, replacing the need for interpreted while-loop read and logic by
a much more efficient improved mapfile built-in:
Thanks for the proposal. I'll consider it for a future version.
One problem I see with it is that it assumes the introduction of word
splitting into mapfile, with the burden on the user to ensure that there
are exactly two resultant fields.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/