On 2/13/10 6:03 PM, Rajeev V. Pillai wrote: > 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.
Thanks for the report. The history library actually understands very little shell syntax. Readline-6.2 will do a slightly better job. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/