On 13/06/2560 02:54, Chet Ramey wrote:
> If you want to effectively change it to a newline, specify NUL as the
> line delimiter using the -d option (new in bash-4.4).

Thanks, that sounds like a clean solution!
I only reverted to mapfile because $(...) command substitution could not
be made to work. (I still have to 'convert' the array to a normal
variable in the next step...). Would a shell option for command
substitution using NUL be a desirable feature to bash users??

Peter

Reply via email to