unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@elta.co.il>
Subject: Re: broken grep
Date: 22 Sep 2003 08:21:43 +0200	[thread overview]
Message-ID: <uk781xs08.fsf@elta.co.il> (raw)
In-Reply-To: <E1A1FiF-0003fh-00@linux183.ma.utexas.edu> (message from Joe Corneli on Sun, 21 Sep 2003 20:42:03 -0500)

> From: Joe Corneli <jcorneli@math.utexas.edu>
> 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	other threads:[~2003-09-22  6:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1A1AA7-0002hJ-55@monty-python.gnu.org>
2003-09-22  1:42 ` broken grep Joe Corneli
2003-09-22  6:21   ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uk781xs08.fsf@elta.co.il \
    --to=eliz@elta.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).