Re: declare output of process substitution after redirection.

2013-11-12 Thread Chet Ramey
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 () > { >

declare output of process substitution after redirection.

2013-11-11 Thread admn ombres
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: /d