bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash-4.1: incorrect substitution of extended glob pattern when recal


From: Chet Ramey
Subject: Re: bash-4.1: incorrect substitution of extended glob pattern when recalled with !$
Date: Tue, 16 Feb 2010 10:51:10 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1

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    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]