[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-x grep: time to clean up /dev/null kludge
From: |
Miles Bader |
Subject: |
Re: M-x grep: time to clean up /dev/null kludge |
Date: |
Thu, 20 Sep 2001 18:51:50 GMT |
miles@gnu.org (Miles Bader) writes:
> Perhaps the `M-x grep' code should run some sort of test the first time
> it's used to determine if the `-H' option is supported, and if so, use it
> and punt the use of /dev/null. [it doesn't seem very difficult ...]
Indeed, it's so not very difficult that here's a patch; I'll try to get
it into emacs after 21.1 is released. [Note that this patch is against
the current emacs CVS sources, and may require some changes to work with
older versions of emacs.]
grep-nonulldev.patch
Description: Patch to make `M-x grep' not use /dev/null if possible
-Miles
--
o The existentialist, not having a pillow, goes everywhere with the book by
Sullivan, _I am going to spit on your graves_.