[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep-find question (Is it a bug of GunWin32 version of "grep")
From: |
brianjiang |
Subject: |
grep-find question (Is it a bug of GunWin32 version of "grep") |
Date: |
Fri, 10 Aug 2007 17:23:32 +0800 |
I tried to use grep-find today (in windows XP). So I downgraded the
GunWin32 version grep and findutil. But it seems that the "-i"
(--ignore-case") doesn't work correctly.
When I didn't use "-i" option, searching succeeded:
=====================================
D:\WiKi>find . -type f -exec grep -nH RS17 {} ";"
./MyBase.muse:116: - RS17:
D:\WiKi>find . -type f -print0 | xargs -0 -e grep -nH RS17
./MyBase.muse:116: - RS17:
Then when I added the "-i" option, all the searching failed:
======================================-===
D:\WiKi>find . -type f -print0 | xargs -0 -e grep -nHi RS17
D:\WiKi>find . -type f -print0 | xargs -0 -e grep -nHi rs17
D:\WiKi>find . -type f -exec grep -nHi RS17 {} ";"
D:\WiKi>find . -type f -exec grep -nHi rs17 {} ";"
And I try the "mingw" version of these tools, the "-i" version works
well:
===================================================
Brian@BRIANJIANG /d/WiKi
$ find . -type f -exec grep -nHi rs17 {} NUL ";"
./MyBase.muse:116: - RS17:
Brian@BRIANJIANG /d/WiKi
$ find . -type f -print0 | xargs -0 -e grep -nHi rs17
./MyBase.muse:116: - RS17:
Is it a bug of GnuWin32 version of "grep" program?
Regards,
Brian
- Emacspeak and UTF-8 -- possible?, address@hidden, 2007/08/03
- Re: Emacspeak and UTF-8 -- possible?, Tim X, 2007/08/07
- Re: Emacspeak and UTF-8 -- possible?, address@hidden, 2007/08/08
- Re: Emacspeak and UTF-8 -- possible?, Stefan Monnier, 2007/08/08
- Re: Emacspeak and UTF-8 -- possible?, Tim X, 2007/08/10
- grep-find question (Is it a bug of GunWin32 version of "grep"),
brianjiang <=
- Re: grep-find question (Is it a bug of GunWin32 version of "grep"), Eli Zaretskii, 2007/08/10
- RE: grep-find question (Is it a bug of GunWin32 version of "grep"), brianjiang, 2007/08/11
- RE: grep-find question (Is it a bug of GunWin32 version of "grep"), brianjiang, 2007/08/11
- Re: grep-find question (Is it a bug of GunWin32 version of "grep"), Eli Zaretskii, 2007/08/11
- RE: grep-find question (Is it a bug of GunWin32 version of "grep"), brianjiang, 2007/08/12
- Re: grep-find question (Is it a bug of GunWin32 version of "grep"), Eli Zaretskii, 2007/08/12
- Re: Emacspeak and UTF-8 -- possible?, Tim X, 2007/08/10
- Re: Emacspeak and UTF-8 -- possible?, Stefan Monnier, 2007/08/11
- Re: Emacspeak and UTF-8 -- possible?, Raman, 2007/08/14
- Re: Emacspeak and UTF-8 -- possible?, Stefan Monnier, 2007/08/14