GNU bug report logs - #3481
rgrep uses xargs -e

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Sat, 6 Jun 2009 05:25:09 UTC

Severity: minor

Tags: notabug

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3481 in the body.
You can then email your comments to 3481 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3481; Package emacs. (Sat, 06 Jun 2009 05:25:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 06 Jun 2009 05:25:10 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: rgrep uses xargs -e
Date: Sat, 06 Jun 2009 04:29:29 +0800
rgrep uses "xargs -0 -e grep -i -nH -e ..." but
do you really want to make the '[-E eof-str] [-e[eof-str]]' = "grep"?

Do you really want to use xargs -e at all?
If so why not xargs -E?

Maybe this is confusion with grep -e.




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3481; Package emacs. (Sat, 06 Jun 2009 07:40:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sven Joachim <svenjoac <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 06 Jun 2009 07:40:05 GMT) Full text and rfc822 format available.

Message #10 received at 3481 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Sven Joachim <svenjoac <at> gmx.de>
To: jidanni <at> jidanni.org
Cc: 3481 <at> debbugs.gnu.org
Subject: Re: bug#3481: rgrep uses xargs -e
Date: Sat, 06 Jun 2009 09:31:56 +0200
On 2009-06-05 22:29 +0200, jidanni <at> jidanni.org wrote:

> rgrep uses "xargs -0 -e grep -i -nH -e ..." but
> do you really want to make the '[-E eof-str] [-e[eof-str]]' = "grep"?

No, and it isn't done, since that would be "xargs -egrep" or
"xargs -E grep".

> Do you really want to use xargs -e at all?
> If so why not xargs -E?

Because -E requires a an eof-string while -e does not.

> Maybe this is confusion with grep -e.

I suppose not, but the -e option for xargs is probably superfluous.  It
had always been used since grep-find was introduced in Emacs 20; anybody
who remembers the reason (if any) for it?

Sven



Severity set to 'minor' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 04 Nov 2009 22:10:07 GMT) Full text and rfc822 format available.

Added tag(s) notabug. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 11 Jul 2011 16:25:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 3481 <at> debbugs.gnu.org and jidanni <at> jidanni.org Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 11 Jul 2011 16:25:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 09 Aug 2011 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 16 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.