JC Cavaillé wrote: > 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 `}'
This was fixed in bash-3.2. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Live Strong. No day but today. Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/ _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash