Even with the -iregex option, the find command performs case-sensitive
matching. 

Test procedure:

$ mkdir test
$ touch test/file-a
$ touch test/File-b
$ find test | grep -i ".*file.*"
test/file-a
test/File-b

$ find test -iregex ".*file.*"
test/file-a

$ find test -iregex ".*File.*"
test/File-b

I'm using Cygwin 1.5.12-1 under Windows XP Professional Ver 5.1 Build 2600
Service Pack 1, findutils 20041227-1.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to