This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Case sensitivity in filenames
- To: "Moore, Paul" <Paul dot Moore at uk dot origin-it dot com>, "'Gnu Win32'" <gnu-win32 at cygnus dot com>
- Subject: Re: Case sensitivity in filenames
- From: "Pierre A. Humblet" <Pierre dot Humblet at eurecom dot fr>
- Date: Wed, 23 Dec 1998 14:00:19 -0500
At 10:46 AM 12/23/98 -0000, Moore, Paul wrote:
>Hi,
>I can't believe that this isn't a FAQ, but I've looked and can't find
>it. I've just installed cygwin B20.1, and it appears that the commands
>are treating files case-sensitively. In particular, if I do (from
>COMMAND.COM) "ls *.zip" I get a list of zip files in the current
>directory. But if I do "ls *.ZIP" I get nothing! Now, I understand that
>Unix filenames are case sensitive, but Windows ones aren't and so I
>would expect the command to produce the same results in both cases (or
>at least for there to be an option to make this happen). But it appears
>not...
>
>Can anybody suggest what I'm missing? My CYGWIN environment variable is
>not set at all. Should I set something in it? The documentation doesn't
>show anything which looks relevant.
>
>Thanks,
>Paul Moore
>
In bash:
shopt -s nocaseglob
No idea how to make something like that work from COMMAND.COM
Pierre
>-
>For help on using this list (especially unsubscribing), send a message to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".