On Wed, 11 Aug 2004, Alexander Dalloz wrote:
Am Mi, den 11.08.2004 schrieb Kevin Old um 20:31:
I've been using find . -exec grep "phrase I want" {} \;
Not the best way. Using -exec is problematic.
why problematic? (although it's not the way i'd do it, anyway.) if one insisted on using find and -exec, at the very least, restrict your search to regular files:
$ find . -type f -exec grep "phrase" {} \;
but with grep and "-r", there's little reason to get "find" involved.
rday