[TriLUG] RH 7.2 bash 2.05.8(1) whacked?
Tanner Lovelace
lovelace at wayfarer.org
Mon Feb 4 15:19:07 EST 2002
Here's what I get:
lovelace kendrick ~ 151_ cd /tmp
lovelace kendrick /tmp 152_ mkdir test
lovelace kendrick /tmp 153_ cd test
lovelace kendrick /tmp/test 154_ touch A B C a b c
lovelace kendrick /tmp/test 155_ ls -1
a
A
b
B
c
C
lovelace kendrick /tmp/test 156_ ls -1 [A-Z]*
A
B
C
lovelace kendrick /tmp/test 157_ echo *
a A b B c C
lovelace kendrick /tmp/test 158_ echo [A-Z]*
A B C
lovelace kendrick /tmp/test 159_
So, it looks like something is messed up in your setup.
I'm running bash 2.05. What version are you running?
lovelace kendrick /tmp/test 160_ bash --version
GNU bash, version 2.05.1(1)-release (i586-mandrake-linux-gnu)
Copyright 2000 Free Software Foundation, Inc.
Tanner
On Mon, 2002-02-04 at 15:12, Rodent of Unusual Size wrote:
> Something seems *really* whacked out with bash wildcards.
> Firstly they aren't being listed in case-sensitive lexical
> order (A B C a b c) they way they should be, and secondly
> ranges are *really* screwed up:
>
> % cd /tmp
> % mkdir test
> % cd test
> % touch A B C a b c
> % /bin/ls -1
> a
> A
> b
> B
> c
> C
> % /bin/ls -1 [A-Z]*
> A
> b
> B
> c
> C
> % echo *
> a A b B c C
> % echo [A-Z]*
> A b B c C
>
> Anyone else seen this? Or have a suggestion on how to proceed?
> --
> #ken P-)}
>
> Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/
> Author, developer, opinionist http://Apache-Server.Com/
>
> "Millenium hand and shrimp!"
> _______________________________________________
> TriLUG mailing list
> http://www.trilug.org/mailman/listinfo/trilug
--
Tanner Lovelace | lovelace at wayfarer.org | http://wtl.wayfarer.org/
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
GPG Fingerprint = A66C 8660 924F 5F8C 71DA BDD0 CE09 4F8E DE76 39D4
GPG Key can be found at http://wtl.wayfarer.org/lovelace.gpg.asc
--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
Those who are willing to sacrifice essential liberties for a little
order, will lose both and deserve neither. -- Benjamin Franklin
History teaches that grave threats to liberty often come in times
of urgency, when constitutional rights seem too extravagant to
endure. -- Justice Thurgood Marshall, 1989
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20020204/a8fccfd8/attachment.pgp>
More information about the TriLUG
mailing list