This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: find doesn't find existing files
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin at cygwin dot com
- Date: Tue, 23 Feb 2016 21:50:44 +0100
- Subject: Re: find doesn't find existing files
- Authentication-results: sourceware.org; auth=none
- References: <CAEhDDbCgz=vKL-5wUYFC0V=56M01ewoVP9LrpCX830_XmarGZA at mail dot gmail dot com>
Csaba Raduly writes:
> This has me perplexed:
>
> $ ls -l /usr/lib/perl5/vendor_perl/5.22/x86_64-cygwin-threads/XML/libXML.pm
> -rw-r--r-- 1 Csaba None 65K Dec 6 14:16
> /usr/lib/perl5/vendor_perl/5.22/x86_64-cygwin-threads/XML/libXML.pm
>
> $ which find
> /usr/bin/find
>
> $ find /usr/lib/perl5 -name libXML.pm
> (no output)
That's because the filename really is LibXML.pm (not the upper case L at
the beginning). Why ls doesn't complain about the filename I'm not sure
(case insensitive FS search most likely), but find always gets the
correct case from reading the dir and won't match unless you use -iname.
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple