Re: recursive grep with hidden files and directories

2003-01-24 Thread Oleg Goldshmidt
shlomo solomon <[EMAIL PROTECTED]> writes: > It exists on Mandrake too. BTW, the rgrep man page (dated 1996) > wrongly claims that grep doesn't recurse. This was the case then, but grep (at least the GNU grep) added the recursion capability since then. I would not be surprised if on some systems

Re: recursive grep with hidden files and directories

2003-01-24 Thread shlomo solomon
On Friday 24 January 2003 13:36, Tzafrir Cohen wrote: > There is also a separate program called 'rgrep' (IIRC there is, or was, > such a redhat package) It exists on Mandrake too. BTW, the rgrep man page (dated 1996) wrongly claims that grep doesn't recurse. FWIW, I used **time** to compare perfo

Re: recursive grep with hidden files and directories

2003-01-24 Thread Eli Marmor
I use the following command for such things, which is good not only for scanning ALL the files in a directory tree, but for any list of files: (this example demonstrates how to find all the C files in the current diretory and its sub directories that contain the word "kuku"): find . -name

Re: recursive grep with hidden files and directories

2003-01-24 Thread shlomo solomon
On Friday 24 January 2003 13:22, Oleg Goldshmidt wrote: > shlomo solomon <[EMAIL PROTECTED]> writes: > > The subject says it all. The -R switch is recursive, but ignores > > hidden directories. And grep also ignores hidden files. Is there a > > way around this? I couldn't find anything about this i

RE: recursive grep with hidden files and directories

2003-01-24 Thread Tzafrir Cohen
On Fri, 24 Jan 2003, Alon Weinstein wrote: > > The subject says it all. The -R switch is recursive, but > > ignores hidden > > directories. And grep also ignores hidden files. Is there a > > way around this? > > I think the simplest solution is to supply grep with the filenames using > a pipe from

Re: recursive grep with hidden files and directories

2003-01-24 Thread Oleg Goldshmidt
shlomo solomon <[EMAIL PROTECTED]> writes: > The subject says it all. The -R switch is recursive, but ignores > hidden directories. And grep also ignores hidden files. Is there a > way around this? I couldn't find anything about this in man grep or > on the net. In fact, aside from my personal exp

RE: recursive grep with hidden files and directories

2003-01-24 Thread Alon Weinstein
> The subject says it all. The -R switch is recursive, but > ignores hidden > directories. And grep also ignores hidden files. Is there a > way around this? I think the simplest solution is to supply grep with the filenames using a pipe from "ls -a" ==