grep
Michael Moore
mmoore%hellgate.utah.edu at cs.utah.edu
Mon Apr 15 13:44:14 AEST 1991
Does anyone know if there is an easy way to recursively search for a
pattern down the entire file tree of a directory?
I have tried : grep -R pattern *
grep -r pattern *
grep -R pattern dirname
grep -r pattern dirname
I don't know what to do. If there were a way to recursively cat
files or something similar, I could pipe that to grep, but I can't find that
either.
ANY help would be greatly appreciated.
(P.S. Is this the proper newsgroup to post this question to?)
( If not, please let me know which one is. )
Michael Moore
University of Utah
<><><><><><><>><><><><><><><><><><><><><><>
<>He spoke seldom, ate little, slept less<>
<> -Ursula K. LeGuin <>
<> *Wizard of Earthsea* <>
<><><><<><><><><><><><><><><><><><><><><><>
More information about the Comp.unix.questions
mailing list