On 11/12/18 10:48 AM, Didou Serge wrote:
> Ok, in this case, this should not work either:
>
> mapfile -C xx -c 1 UU < <( echo -e "Premiere ligne" A{1..45} "\nDeuxieme
> ligne" B{1..45} "\nTroisieme ligne" C{1..45})
>
> But, this form work fine.
Because the read function underlying mapfile notes that the file descriptor
is not seekable and reads only a single line at a time rather than a full
buffer of data.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/