Re: 1.5.12: find with -iregex is case-sensitive

2005-01-23 Thread johnwrussell
I found a workaround: Remake findutils 4.1.7-4 from source, and use /usr/local/bin/find.exe instead of /usr/bin/find.exe. Here's what I did: $ cd /usr/src/findutils-4.1.7-4 $ ./configure $ make $ make install $ mv /usr/bin/find.exe /usr/bin/find.exe.old $ cd /bin $ ln -s /usr/local/bin/find.ex

1.5.12: find with -iregex is case-sensitive

2005-01-18 Thread johnwrussell
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