[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-x grep: time to clean up /dev/null kludge
From: |
Eli Zaretskii |
Subject: |
Re: M-x grep: time to clean up /dev/null kludge |
Date: |
Sat, 15 Sep 2001 13:28:44 +0300 |
> From: Dan Jacobson <jidanni@deadspam.com>
> Newsgroups: gnu.emacs.bug
> Date: 15 Sep 2001 10:32:02 +0800
>
> You know, something has to be done about /dev/null kludge in M-x grep:
> (grep "grep -n -e www *|wc")
>
> cd ~/geocities/
> grep -n -e www *|wc /dev/null
> 0 0 0 /dev/null
>
> grep finished (matches found) at Sat Sep 15 10:21:46
>
> I mean I know it is there to modify grep output in the minimal case of
> one file name etc. But, then useful commands like
>
> (grep "grep -n -e www *|grep -v http://")
>
> are precluded.
M-x grep is not supposed to be used with an arbitrary shell commands;
you have "M-!" for that.