Message-ID: From: Michel de Ruiter To: "DJGPP workers (E-mail)" 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) Content-Type: text/plain; charset="iso-8859-1" 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.