[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Infinite loop in globbing
From: |
Greg Wooledge |
Subject: |
Re: Infinite loop in globbing |
Date: |
Mon, 14 Mar 2011 09:59:02 -0400 |
User-agent: |
Mutt/1.4.2.3i |
On Mon, Mar 14, 2011 at 10:00:14AM +0100, Roman Rakus wrote:
> $ locale
> LANG=en_US.UTF-8
> LC_CTYPE="en_US.UTF-8"
> LC_NUMERIC="en_US.UTF-8"
> LC_TIME="en_US.UTF-8"
> LC_COLLATE="en_US.UTF-8"
> LC_MONETARY="en_US.UTF-8"
> LC_MESSAGES="en_US.UTF-8"
> LC_PAPER="en_US.UTF-8"
> LC_NAME="en_US.UTF-8"
> LC_ADDRESS="en_US.UTF-8"
> LC_TELEPHONE="en_US.UTF-8"
> LC_MEASUREMENT="en_US.UTF-8"
> LC_IDENTIFICATION="en_US.UTF-8"
> LC_ALL=
>
> $ echo $BASH_VERSION
> 4.2.7(1)-release
>
> $ [$'\xFD'$'\xBA']
> ^C
>
> The bash 4.2 is in infinite loop. The bash 4.1 work well.
Can you give more details about the setup here? Does the glob match
any files or not?
In a NON-utf8 locale, with no matching files, I get:
imadev:~$ [$'\xFD'$'\xBA']
bash: [ýº]: command not found
Re: Infinite loop in globbing, Chet Ramey, 2011/03/14