bug-bash
[Top][All Lists]
Advanced

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

Re: IFS is ignored for nested functions with stdin redirection


From: Chet Ramey
Subject: Re: IFS is ignored for nested functions with stdin redirection
Date: Sun, 02 Dec 2012 22:33:14 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

On 12/2/12 11:52 AM, Andrey Borzenkov wrote:
> I hit this problem in DKMS code and could reduce it to the following
> example:

Thanks for the report.  The problem has to do with state in the process
substitution subshell preventing it from using the temporary environment
for variable lookups.  It will be fixed in the next version.  I have
attached a patch; please let me know if it fixes the issue for you.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/

Attachment: proc-subst-tempvars.patch
Description: Text Data


reply via email to

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