Hi guys , How do I get grep to search for all files under / that contian the string "archA" I treid grep -r "arch4" / but it did not work. What am I missing ? Thanks -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Some distributions have something called 'rgrep' but I have not seen it on suse. So, you might try: find . -type f | xargs grep arch4 Or, I have set rgrep to an alias in my .bashrc: find . -type f | xargs grep !* Hope this helps. -- Ryan On Mon, 15 May 2000, Samy Elashmawy wrote:
Hi guys ,
How do I get grep to search for all files under / that contian the string "archA"
I treid grep -r "arch4" /
but it did not work. What am I missing ?
Thanks
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
ryan@aa.net wrote:
Some distributions have something called 'rgrep' but I have not seen it on suse. So, you might try:
find . -type f | xargs grep arch4
Or, I have set rgrep to an alias in my .bashrc:
find . -type f | xargs grep !*
For rgrep to really do its job, something more elaborate is needed, I'm afraid, so that any additional grep-ish parameters passed to rgrep behave as they would if passed to grep. Something I've been meaning to program myself, but haven't. I think getargs is the prescription. Paul Abrahams -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi, On Mon, May 15 2000 at 15:41 +0000, Samy Elashmawy wrote:
How do I get grep to search for all files under / that contian the string "archA"
I treid grep -r "arch4" /
Try `grep -r arch4 /*'. Ciao, Stefan -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
I was just trying to find where my reference to string "nameserver" so I did a: 'grep nameserver *' and it worked. Thanks! jrh -----Original Message----- From: Stefan Troeger [mailto:stefan.troeger@wirtschaft.tu-chemnitz.de] Sent: Monday, May 15, 2000 4:33 PM To: suse-linux-e@suse.com Subject: Re: [SLE] grep help Hi, On Mon, May 15 2000 at 15:41 +0000, Samy Elashmawy wrote:
How do I get grep to search for all files under / that contian the string "archA"
I treid grep -r "arch4" /
Try `grep -r arch4 /*'. Ciao, Stefan -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
How do I get grep to search for all files under / that contian the string "archA"
I treid grep -r "arch4" /
but it did not work. What am I missing ?
find lines contain <pattern> under
participants (6)
-
abrahams@valinet.com
-
hajimmie@cncn.com
-
jhoepner@tvsw.org
-
ryan@aa.net
-
samelash@ix.netcom.com
-
stefan.troeger@wirtschaft.tu-chemnitz.de