bug-bash
[Top][All Lists]
Advanced

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

Re: declare output of process substitution after redirection.


From: Chet Ramey
Subject: Re: declare output of process substitution after redirection.
Date: Tue, 12 Nov 2013 08:46:15 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

On 11/11/13 11:48 PM, admn ombres wrote:
> i'm not sure this must be considered as a bug, but using bash 4.2.45
> (end it seems to be the same in the devel branch) the output of :
> 
> f1 () { y >& >(z) ; }
> f2 () { y &> >(z) ; }
> declare -f f1 f2
> f1 ()
> {
>     x &>>(y)
> }
> f2 ()
> {
>     x &>>(y)
> }
> 
> # look like a bug
> 
> source <(declare -f f1 f2)
> -bash: /dev/fd/63: line 3: syntax error near unexpected token `('
> -bash: /dev/fd/63: line 3: `    x &>>(y)'

Thanks for the report.  This will be fixed in the next release of bash.

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



reply via email to

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