On Sun, Nov 11, 2018 at 09:32:31PM +0100, Didou Serge wrote:
> When use mapfile from normal file that call function that use mapfile, the
> first mapfile lost data.
> 
> Repeat-By:
> I create 3 functions:
> ww(){ echo "$@" | mapfile -C yy -c 1 -t TT ; }

In this function, mapfile is being executed in a subshell.  It will
read the input, and then when the subshell terminates, the array will
be discarded.

Reply via email to