On 1/15/11 12:28 AM, Chris F.A. Johnson wrote:
> On Mon, 17 May 2010, Chet Ramey wrote:
>
>> On 4/15/10 11:56 PM, DennisW wrote:
>>> Mapfile would be that much more powerful if the callback function had
>>> access to the current line. Is there any chance this might be added in
>>> the future?
>>
>
On Mon, 17 May 2010, Chet Ramey wrote:
On 4/15/10 11:56 PM, DennisW wrote:
Mapfile would be that much more powerful if the callback function had
access to the current line. Is there any chance this might be added in
the future?
Sure, there's a chance. What would be the most useful form? A s
On 4/15/10 11:56 PM, DennisW wrote:
> Mapfile would be that much more powerful if the callback function had
> access to the current line. Is there any chance this might be added in
> the future?
Sure, there's a chance. What would be the most useful form? A shell
variable that lives for the durat
DennisW wrote:
> Mapfile would be that much more powerful if the callback function had
> access to the current line. Is there any chance this might be added in
> the future?
Can't answer directly on this, but it looks like the gateway between this
group and the mailing list hasn't worked for a l
On Mon, 20 Jul 2009, Pierre Gaston wrote:
On Mon, Jul 20, 2009 at 5:46 AM, Chris F.A. Johnson wrote:
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
On Mon, Jul 20, 2009 at 5:46 AM, Chris F.A. Johnson wrote:
> 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
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
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.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Chet Ramey, ITS, CWRUc...@case.eduhttp://cnswww.cns.cwru.e