Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -O3 -fomit-frame-pointer -march=native -mfpmath=sse -m3dnow -mmmx -msse -pipe uname output: Linux athlon.localdomain 2.6.32.8 #1 PREEMPT Wed Feb 10 08:06:34 IST 2010 i686 GNU/Linux Machine Type: i686-pc-linux-gnu
Bash Version: 4.1 Patch Level: 2 Release Status: release Description: When ``shopt -s extglob'' is set, bash-4.1 does not substitute the complete extended glob pattern when !$ is used to recall it. Repeat-By: $ ls -l !(*.c|*.h) ...output omitted... $ ls -l !$ ls -l ) bash: syntax error near unexpected token `)' $ ls -l ?(*.c|*.h) ...output omitted... $ ls -l !$ ls -l ) bash: syntax error near unexpected token `)' $