Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486'
-DCONF_OSTYPE='linux-gnu' -DCONF_$uname output: Linux lithium 2.6.16-xen #2 SMP
Sat Sep 16 14:25:47 CEST 2006 i686 GNU/Linux
Machine Type: i486-pc-linux-gnu
Bash Version: 3.1
Patch Level: 17
Release Status: release
Description:
declare -f is incorrect with '> >(...)' or '< <(...)'
Repeat-By:
[EMAIL PROTECTED]:~# function foo
> {
> cat < <(ls)
> }
[EMAIL PROTECTED]:~# eval "$(declare -f foo)"
bash: syntax error near unexpected token `('
bash: syntax error near unexpected token `}'
[EMAIL PROTECTED]:~# declare -f foo
foo ()
{
cat <<(ls)
}
Explication: 'declare -f' generate 'cat <<(ls)', not 'cat < <(ls)'
Sorry for my expression, i'm a french computer student.
_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash