Mail Archives: djgpp-workers/2001/01/26/12:23:19
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 -