From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: Warning to those using rgrep on Mac OS X Date: Tue, 18 Dec 2012 19:07:51 +0100 Organization: Emacs Helm Message-ID: <87r4mndyiw.fsf@gmail.com> References: <87hanjg14w.fsf@dimension8.tehua.net> <871uen4pve.fsf@gmail.com> <83sj73p8mt.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1355854093 17358 80.91.229.3 (18 Dec 2012 18:08:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2012 18:08:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 18 19:08:28 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tl1ad-0004LV-J0 for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Dec 2012 19:08:27 +0100 Original-Received: from localhost ([::1]:36521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl1aP-0002ZJ-Mf for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Dec 2012 13:08:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl1aK-0002Yi-Lt for help-gnu-emacs@gnu.org; Tue, 18 Dec 2012 13:08:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tl1aI-0001x3-D5 for help-gnu-emacs@gnu.org; Tue, 18 Dec 2012 13:08:08 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:43582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl1aI-0001wf-7C for help-gnu-emacs@gnu.org; Tue, 18 Dec 2012 13:08:06 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tl1aS-0004G7-7v for help-gnu-emacs@gnu.org; Tue, 18 Dec 2012 19:08:16 +0100 Original-Received: from lbe83-2-78-243-104-167.fbx.proxad.net ([78.243.104.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Dec 2012 19:08:16 +0100 Original-Received: from thierry.volpiatto by lbe83-2-78-243-104-167.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Dec 2012 19:08:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lbe83-2-78-243-104-167.fbx.proxad.net User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.91 (gnu/linux) Cancel-Lock: sha1:RMyd8NMzwjb8K2JvB3RWbPPglQ4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88198 Archived-At: Eli Zaretskii writes: >> From: Thierry Volpiatto >> Date: Tue, 18 Dec 2012 11:27:17 +0100 >> >> Emacs for rgrep use, in addition of grep, two more commands that are find >> and xargs, which is not useful because grep itself is able to recurse >> without the need of these commands. >> It is not a problem on GNU/Linux system based, but seems to add >> portability problems on other systems. > > Not exactly due to portability problems, but due to the fact that > there are so many broken ports of 'find' and 'xargs', at least for > Windows, out there. I always heard (from you :-)) a patched version is needed on windows, which is inconvenient for most users. > Using "grep -R" would indeed be better. (Btw, on GNU/Linux "grep -R" > is _slower_ that "find | xargs grep" pipe. But on Windows, "grep -R" > is faster, even with my "improved" and fast port of GNU Find.) I am using with emacs-helm "grep -R" since two years now and more recently "ack-grep" with success on GNU/Linux. I don't know how fast is find/xargs but using "grep -R" is already fast enough for most of the tasks. Using "ack-grep" is always faster than grep even if in theory it is slower than grep (It do not parse uninteresting files/dirs by default). -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997