bug-bash
[Top][All Lists]
Advanced

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

Re: Automatically assigning BASH_XTRACEFD while redirecting doesn't make


From: Chet Ramey
Subject: Re: Automatically assigning BASH_XTRACEFD while redirecting doesn't make it a special variable.
Date: Wed, 05 Sep 2012 10:38:16 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0

On 9/5/12 8:05 AM, Pierre Gaston wrote:
> It seems BASH_XTRACEFD becomes special only if you assign it normally
> but not if you do:
> 
> exec {BASH_XTRACEFD}>file
> 
> Not a real major problem and I don't use it everyday, but the
> statement looks so nice :D

This is a great idea.  I'll add it for the next version.

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/



reply via email to

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