On Wed, Jun 28, 2017 at 07:08:27PM -0700, Keith Thompson wrote:
[...]
>         mapfile REDIRECT < /tmp/input.txt
>         cat /tmp/input.txt | mapfile PIPE

The `mapfile PIPE' is a piece of a pipeline, and as such, it runs in a
subshell (different process).

See: http://mywiki.wooledge.org/BashFAQ/024

-- 
Eduardo Bustamante
https://dualbus.me/

Reply via email to