|
From: | Chris F.A. Johnson |
Subject: | Re: mapfile callback |
Date: | Sun, 19 Jul 2009 22:46:54 -0400 (EDT) |
User-agent: | Alpine 2.00 (NEB 1167 2008-08-23) |
On Sun, 19 Jul 2009, Chet Ramey wrote:
Chris F.A. Johnson wrote:mapfile callback code is executed in a subshell.It's not. It's executed in the same context as an `eval' or a trap command.
So it is. Great! I wonder what I was doing wrong before. -- Chris F.A. Johnson <http://cfaj.freeshell.org> =================================================================== Author: Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
[Prev in Thread] | Current Thread | [Next in Thread] |