[plug] Limits of grep?

Leon Brooks leon at brooks.smileys.net
Tue Sep 26 19:20:44 WST 2000


Subba Rao wrote:
> I have a directory of 10000+ text files and would like to search for
> some strings in these files.

    find /path/to/dir -exec grep -H {} \;

Type ``man find'' to discover how to limit it to one directory level (it
recurses by default), do ordinary files only, date ranges etc etc ad
headspinnum...

-- 
Here is Edward User, crashing Office now, crash, crash, crash,
and a smack of his head, under Windows. It is, as far as he
knows, the only way of computing, but sometimes he feels that
there really is another way, if only he could stop crashing
for a moment and think of it. -- A.A. Milne paraphrased



More information about the plug mailing list