[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [feature request] add associative array support to mapfile

From: Alex fxmbsw7 Ratchev
Subject: Re: [feature request] add associative array support to mapfile
Date: Thu, 17 Dec 2020 17:51:23 +0100

you can maybe implent dynamical runtime code decisons like runtime code for
splitting definement

On Thu, Dec 17, 2020, 17:36 Chet Ramey <chet.ramey@case.edu> wrote:

> 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    chet@case.edu    http://tiswww.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]