all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#3481: rgrep uses xargs -e
@ 2009-06-05 20:29 jidanni
  2009-06-06  7:31 ` Sven Joachim
  0 siblings, 1 reply; 2+ messages in thread
From: jidanni @ 2009-06-05 20:29 UTC (permalink / raw)
  To: bug-gnu-emacs

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.






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#3481: rgrep uses xargs -e
  2009-06-05 20:29 bug#3481: rgrep uses xargs -e jidanni
@ 2009-06-06  7:31 ` Sven Joachim
  0 siblings, 0 replies; 2+ messages in thread
From: Sven Joachim @ 2009-06-06  7:31 UTC (permalink / raw)
  To: jidanni; +Cc: 3481

On 2009-06-05 22:29 +0200, jidanni@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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-06  7:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-05 20:29 bug#3481: rgrep uses xargs -e jidanni
2009-06-06  7:31 ` Sven Joachim

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.