On 26-Aug-99 Miles wrote:
>How would I go about searching for an occurrence of a word in a folder
>with multiple subdirs, and have it search those subdirs recursively for
>the word as well? There isn't any '-R' flag or the like for grep, is there
>(a la cp -R or cmod -R)?
some distributions have rgrep installed, which is a very nice piece of kit. Much
better than the shagged up script around find and grep that i scraped together
at one stage.
C.
Real Life: Caolan McNamara * Doing: MSc in HCI
Work: Caolan.McNamara at ul.ie * Phone: +353-86-8790257
URL: http://www.csn.ul.ie/~caolan * Sig: an oblique strategy
(Organic) machinery
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!