Rafael 'Dido' Sevilla <[EMAIL PROTECTED]> writes:

> find . -name "*" -print | xargs "grep pattern"

I tend to use the magic incantation

find -exec grep --with-filename stuff-to-search-for {} \;

as grep by itself won't say the filename if invoked on single files. =)
-- 
Sacha Chua <[EMAIL PROTECTED]> - Ateneo CS faculty geekette
interests: emacs, gnu/linux, wearables, teaching compsci
http://sacha.free.net.ph/
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to