mapfile callback code is executed in a subshell.

   Would it be possible to make it execute in the current shell?

   With mapfile -c1, this would make it possible to work on a file without an
   explicit loop, making it much faster.

--
   Chris F.A. Johnson                      <http://cfaj.freeshell.org>
   ===================================================================
   Author:
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)


Reply via email to