GNU bug report logs - #10185
24.0.50; rgrep breaks when called programmatically

Previous Next

Package: emacs;

Reported by: Phil Hagelberg <phil <at> hagelb.org>

Date: Thu, 1 Dec 2011 19:09:02 UTC

Severity: minor

Found in version 24.0.50

Fixed in version 24.0.92

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> jurta.org>
To: Phil Hagelberg <phil <at> hagelb.org>
Cc: 10185 <at> debbugs.gnu.org
Subject: bug#10185: 24.0.50; rgrep breaks when called programmatically
Date: Fri, 02 Dec 2011 12:59:16 +0200
> Evaluating (rgrep "hello") results in "/bin/bash: hello: command not found"
>
> The docstring for rgrep claims that its first argument is intended to be
> a regexp, but clearly it's attempting to execute it via bash.

`rgrep' assumes that when the `FILES' argument is empty then a grep command
is specified in the `REGEXP' argument.  This should be documented.




This bug report was last modified 13 years and 157 days ago.

Previous Next


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