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    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to