Date: Wed, 24 Jan 1996 13:39:31 +0100 From: Wolfram Schneider <wosch@cs.tu-berlin.de> To: Warner Losh <imp@village.org> Cc: hackers@FreeBSD.org Subject: Re: recursive grep Message-ID: <199601241239.NAA03370@herpes.cs.tu-berlin.de> In-Reply-To: <199601222354.QAA01113@rover.village.org> References: <199601222354.QAA01113@rover.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh writes: >: I would like add options for recursive searching >: (grep -R foo /usr/include). > >find /usr/local | xargs grep foo find /usr/local \( -type f -o -type l \) -print | xargs grep foo >Why do we need another wart on grep? Because people are lazy. 'xargs grep foo' call /usr/bin/grep, not my alias 'grep -i'. grep -R is shorter and for interactive use. Just my 0.02 Euro Wolfram
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601241239.NAA03370>