From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Warning to those using rgrep on Mac OS X
Date: Tue, 18 Dec 2012 19:07:51 +0100 [thread overview]
Message-ID: <87r4mndyiw.fsf@gmail.com> (raw)
In-Reply-To: 83sj73p8mt.fsf@gnu.org
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
>> 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
next prev parent reply other threads:[~2012-12-18 18:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.15544.1355767438.855.help-gnu-emacs@gnu.org>
2012-12-18 9:28 ` Warning to those using rgrep on Mac OS X Aidan Gauland
2012-12-18 10:27 ` Thierry Volpiatto
2012-12-18 17:34 ` Eli Zaretskii
2012-12-18 18:07 ` Thierry Volpiatto [this message]
2012-12-18 19:13 ` Eli Zaretskii
2012-12-18 19:33 ` Thierry Volpiatto
2012-12-18 20:04 ` Eli Zaretskii
[not found] ` <mailman.15621.1355852062.855.help-gnu-emacs@gnu.org>
2012-12-19 8:44 ` Vagn Johansen
2012-12-19 15:35 ` Eli Zaretskii
[not found] ` <mailman.15671.1355931355.855.help-gnu-emacs@gnu.org>
2012-12-20 9:57 ` Vagn Johansen
2012-12-20 16:20 ` Eli Zaretskii
2012-12-17 18:03 Perry Smith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r4mndyiw.fsf@gmail.com \
--to=thierry.volpiatto@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).