"bashbug" script

2007-08-01 Thread Michael
Here was an interesting bug which was some what unexpected. cat <(find ./ -iname t{1,2,3}) this is a valid command according to bash due to a bugged expansion of {1,2,3} and the process expansion. It becomes three commands: find ./ -iname t1 find ./ -iname t2 find ./ -iname t3 but as we know

extglob breaks when it's inside a bash function

2007-08-01 Thread Jelle de Jong
Configuration Information Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='lin$ uname output: Linux xubuntu-ubuntu 2.6.20-16-386 #2 Thu Jun 7 20:16:13 UTC 2007$ Machine Type: i486-pc-linux-gnu Bash Version: 3.2 Patch Level: 13 Re