help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: broken grep


From: Eli Zaretskii
Subject: Re: broken grep
Date: 22 Sep 2003 08:21:43 +0200

> From: Joe Corneli <address@hidden>
> Date: Sun, 21 Sep 2003 20:42:03 -0500
> 
> cd ~/apm/
> grep -n -i -e "int" /Users/joe/apm/a*.tex /Users/joe/apm/b*.tex
> /Users/joe/apm/t*.tex /Users/joe/apm/m*.tex  /dev/null
> 
> grep exited abnormally with code 2 at Sun Sep 21 20:39:50

On what platform does this happen, and with what version of Emacs?
Also, if that's GNU Grep, what does "grep --version" print?

> But if I copy and paste the grep string above to an rxvt,
> it runs no problem.  Also it ran no problem in Emacs
> until today.  Any idea what is causing the trouble?
> Too many files in the directory maybe??  Causing some
> kind of depth variable in Emacs to overload?

Unlikely, on both counts: Emacs doesn't traverse the files itself, it
just invokes the Grep utility with the exact command string it prints
into the *grep* buffer, the one shown above.

The reason is that Grep, indeed, exited with exit status 2.  You need
to find out why did that happen.

What happens if you invoke the same command via "M-!"?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]