delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/26/12:23:19

Message-ID: <B0FEA00E82A7D1118BFB00A0CC990278463309@argon.smr.nl>
From: Michel de Ruiter <Michel AT smr DOT nl>
To: "DJGPP workers (E-mail)" <djgpp-workers AT delorie DOT com>
Subject: Emacs/grep problem
Date: Fri, 26 Jan 2001 18:21:14 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Reply-To: djgpp-workers AT delorie DOT com

Hi, all.

I have noticed strange behaviour of the DJGPP "grep" program, when used from
inside DJGPP Emacs 20. Can anyone confirm the following:

- start emacs -q
- type M-! (shell-command)
- type "grep notfound c:/autoexec.bat|wc" and RETs

The file c:/autoexec.bat should exist, and the string "notfound" should not
occur in it.
Emacs replies to me with:
(Shell command succeeded with no output)
Instead of:
      0       0       0
The "wc" program (or "echo" or whatever is after the pipe) is not executed.
When I change "grep" to another program without output, I do get three zeros
out of "wc".

It might be my specific setup (for instance, a very minimal
Emacs-environment), so if nobody can confirm this: never mind.

Groente, Michel.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019