bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mapfile callback


From: Chris F.A. Johnson
Subject: mapfile callback
Date: Fri, 17 Jul 2009 22:41:55 -0400 (EDT)
User-agent: Alpine 2.00 (NEB 1167 2008-08-23)


   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

[Prev in Thread] Current Thread [Next in Thread]