[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `M-x grep' is dumb
From: |
Romain Francoise |
Subject: |
Re: `M-x grep' is dumb |
Date: |
Tue, 11 Jan 2005 17:16:06 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
Paul Pogonyshev <address@hidden> writes:
> When I type `M-x grep', it shows me ``Run grep (like this): grep -nH
> -e'', so I kinda expect it parses command line just fine. However, if
> I modify this to say ``grep -nH -e -i something *'', it tries to find
> `-i' in file `something'...
Read the documentation for grep, -e must be followed by the pattern.
Either use `grep -nH -i -e something *', or `grep -nH -e something -i *'.
--
Romain Francoise <address@hidden> | When we were kids, we hated
it's a miracle -- http://orebokech.com/ | things our parents did.
- `M-x grep' is dumb, Paul Pogonyshev, 2005/01/11
- Re: `M-x grep' is dumb,
Romain Francoise <=