Case-insensitive globbing (was RE: Cygnus question)
Christopher Faylor
cgf@redhat.com
Fri Nov 3 12:55:00 GMT 2000
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
More information about the Cygwin
mailing list