[Top][All Lists]

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

Re: Case-Insensitive Globbing

From: Mike Taylor
Subject: Re: Case-Insensitive Globbing
Date: Wed, 22 Nov 2000 16:50:15 +0000

> Date: Wed, 22 Nov 2000 11:16:27 -0500
> From: Chet Ramey <address@hidden>
> > A suggestion: in these days when we all have a lot of files with names
> > like "04. Fade to Black.mp3" and "04. Fade To Black.mp3" and indeed
> > "04. FADE TO BLACK.MP3", it would be nice if Bash included a way to
> > make a globbing-pattern match case-insensitively, so I can say (for
> > example):
> What's wrong with `shopt -s nocaseglob'?

Duuuh.  I _knew_ it had to be in there somewhere!

My apologies, the man-page I read was on a Red Hat 6.0 system, which
has bash 1.14.7(1) as its default bash; so no mention of "shopt".  Of
course, it turns out that Red Hat 6.0 also includes a binary called
"bash2" which is 2.03.4(1) ...

The upshot is, I should be using the semi-hidden newer bash.

Thanks for the pointer.

        Mike Taylor <address@hidden>

reply via email to

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