This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Case-insensitive globbing (was RE: Cygnus question)
- To: "'cygwin at sources dot redhat dot com'" <cygwin at sources dot redhat dot com>
- Subject: Re: Case-insensitive globbing (was RE: Cygnus question)
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Fri, 3 Nov 2000 15:54:48 -0500
- References: <F10D23B02E54D011A0AB0020AF9CEFE988F9AB@lynx.ceddec.com>
- Reply-To: cygwin at sources dot redhat dot com
On Fri, Nov 03, 2000 at 09:55:35AM -0500, Town, Brad wrote:
>> There are no facilities in cygwin for case insensitive
>> globbing currently
>> and I have no plans or desires to add this. If someone is interested
>> (hah) in providing a patch, I'll gladly consider it.
>
>"Hah", you say? That's like a triple-dog dare!
>
>Attached is a patch to glob.c to allow case-insensitive globbing when a
>program is run from a Windows shell. It's nothing special -- one extra
>#include and a couple tolowers.
Thanks for the patch but this really needs to be under the control of a
CYGWIN setting. We already have CYGWIN=glob. Maybe something like
CYGWIN=glob:ignorecase would be appropriate.
cgf
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com