Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <5.0.0.25.0.20001024114959.009dbcc0@bastion.internal.datatask.com.au> X-Sender: emclean AT bastion DOT internal DOT datatask DOT com DOT au X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Tue, 24 Oct 2000 11:53:22 +1100 To: cygwin From: Evan McLean Subject: RE: cygwin 2.22 find in NT 4.0 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed >I myself discovered that cygwin's find is case hypersensitive. Despite the >case insensitive nature of the Windows filesystems, apparently find gets >the name of the file and compares against that, so that it only matches if >your pattern is the exact (case matched) string that the FS is returning. >However, your examples imply that you have handled this already. Try: > >$ find . -name [Pp][oO][Rr][Tt]\.[Ii][Nn][Ii] > >I just tested this (with win.ini) and it works nicely. I haven't written >the awk script to convert all alphas to 2 character classes yet, but I'd >be happy to post it once it's ready... You'll probably find that $find . -iname port.ini Works equally well. See "man find" regarding details of iname option (plus lots of others!). E. -- Evan McLean Did you know that beating your head against Datatask Pty. Ltd. a brick wall burns 150 calories an hour? emclean AT datatask DOT com DOT au http://www.datatrain.net Question = 0xFF; // Optimised Hamlet -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com