Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: globbing bug, 3.0.6



teg@xxxxxxxxxx (Trond Eivind Glomsrød) writes:

> hoser% rpm -q zsh
> zsh-3.0.7-4
> hoser% echo $ZSH_VERSION 
> 3.0.7
> hoser% cat /etc/redhat-release 
> Red Hat Linux release 6.2 (Zoot)
> hoser% ls 
> AA  AC	AE  BB	BD  CA	CC  CE	ab  ad	ba  bc	be  cb	cd  da	dc  de
> AB  AD	BA  BC	BE  CB	CD  aa	ac  ae	bb  bd	ca  cc	ce  db	dd
> hoser% ls [A-C]*
> AA  AC	AE  BB	BD  CA	CC  CE	ab  ad	ba  bc	be
> AB  AD	BA  BC	BE  CB	CD  aa	ac  ae	bb  bd
> hoser%

it's the POSIX standard behavior when locale setting is set. it's the
same thing for bash2 by default.

-- 
MandrakeSoft Inc                http://www.mandrakesoft.com
Pasadena, CA USA.                                 --Chmouel



Messages sorted by: Reverse Date, Date, Thread, Author