find doesn't find existing files

Achim Gratz Stromeko@nexgo.de
Tue Feb 23 20:50:00 GMT 2016


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



More information about the Cygwin mailing list