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 11:27:17 +0100 Organization: Emacs Helm Message-ID: <871uen4pve.fsf@gmail.com> References: <87hanjg14w.fsf@dimension8.tehua.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1355826462 16685 80.91.229.3 (18 Dec 2012 10:27:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2012 10:27:42 +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 11:27:56 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 1TkuOy-0003rQ-93 for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Dec 2012 11:27:56 +0100 Original-Received: from localhost ([::1]:58529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkuOk-0000mc-TJ for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Dec 2012 05:27:42 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkuOe-0000mM-NA for help-gnu-emacs@gnu.org; Tue, 18 Dec 2012 05:27:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TkuOc-0003Q1-Hu for help-gnu-emacs@gnu.org; Tue, 18 Dec 2012 05:27:36 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:44994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkuOc-0003Ps-Bu for help-gnu-emacs@gnu.org; Tue, 18 Dec 2012 05:27:34 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TkuOn-0003m5-SZ for help-gnu-emacs@gnu.org; Tue, 18 Dec 2012 11:27:45 +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 11:27:45 +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 11:27:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 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:+NrCtWbJRi72yLmHo76lQWvTthw= 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:88190 Archived-At: Aidan Gauland writes: > Perry Smith writes: >> There is no simple way to get setting grep-find-use-xargs to 'gnu to >> work because out of the box, emacs adds in -e to xargs (which is >> non-standard and the Mac doesn't have it). > > According to the GNU grep manual, "`-e' is specified by POSIX," so grep > on any POSIX system — which, as far as I know, Macintosh is — should > have it. So why the heck does Macintosh's grep (would we call it > "Darwin grep?") command not have it? > 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. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997