From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: grep-find question (Is it a bug of GunWin32 version of "grep") Date: Fri, 10 Aug 2007 17:07:12 +0300 Message-ID: References: <63F95800EDD046419F17688AAFD41CCF01C57033@rnd-ex01.rnd.gdnt.local> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1186754856 32199 80.91.229.12 (10 Aug 2007 14:07:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Aug 2007 14:07:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 10 16:07:34 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IJV9J-0006nt-Hl for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Aug 2007 16:07:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJV9J-0004dn-5F for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Aug 2007 10:07:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IJV95-0004dR-IA for help-gnu-emacs@gnu.org; Fri, 10 Aug 2007 10:07:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IJV92-0004cc-3v for help-gnu-emacs@gnu.org; Fri, 10 Aug 2007 10:07:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJV91-0004cZ-SF for help-gnu-emacs@gnu.org; Fri, 10 Aug 2007 10:07:15 -0400 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IJV91-0005BM-CA for help-gnu-emacs@gnu.org; Fri, 10 Aug 2007 10:07:15 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-204-18.inter.net.il [80.230.204.18]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id DIO70923 (AUTH halo1); Fri, 10 Aug 2007 17:07:12 +0300 (IDT) In-reply-to: <63F95800EDD046419F17688AAFD41CCF01C57033@rnd-ex01.rnd.gdnt.local> (brianjiang@gdnt.com.cn) X-Detected-Kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46474 Archived-At: > Date: Fri, 10 Aug 2007 17:23:32 +0800 > From: > > 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 {} ";" I cannot reproduce this with the GnuWin32 port of Grep 2.5.1 (from grep-2.5.1a-bin.zip on the GnuWin32 site). What version do you have on your machine? If you have the same version as I do, maybe you have some problem with pcre.dll, the regexp library on which Grep depends (like if some other package you installed overwrote the version of pcre.dll that came with Grep 2.5.1)? > And I try the "mingw" version of these tools, the "-i" version works > well: What is the "mingw" version? where did you get the binaries? Do you mean the MSYS version, perhaps?