[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: No rgrep RPM in Enigma?
- From: Bernhard Rosenkraenzer <bero redhat de>
- To: enigma-list <enigma-list redhat com>
- Subject: Re: No rgrep RPM in Enigma?
- Date: Mon, 3 Dec 2001 18:37:25 +0100 (CET)
On Mon, 3 Dec 2001, Christopher Wong wrote:
> Maybe I'm missing something, but how would one get the equivalent of
> the following rgrep switches in grep? Thanks.
>
> -B If file looks like a binary one, skip it.
-I or --binary-files=without-match
> -R 'pat' like '-r' except that only those files matching 'pat' are
> checked
Ok, there's no replacement for this one, but you can do
find . -name 'pat' |xargs grep -r "something"
> -x 'ext' checks only files with extension given by 'ext'.
How does this differ from -R '.*.ext'? Your descriptions sound much the
same.
LLaP
bero
--
This message is provided to you under the terms outlined at
http://www.bero.org/terms.html
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]