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


Message #13 received at 10185-done <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Phil Hagelberg <phil <at> hagelb.org>
Cc: 10185-done <at> debbugs.gnu.org
Subject: Re: bug#10185: 24.0.50; rgrep breaks when called programmatically
Date: Fri, 23 Dec 2011 00:33:40 +0200
Version: 24.0.92

>> 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.

Docstring fixed.  Thanks for the report.




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.