Path: utzoo!attcan!uunet!decwrl!bacchus.pa.dec.com!news.crl.dec.com!decvax.dec.com!decvax!evans From: evans@decvax.dec.com (Marc Evans) Newsgroups: comp.unix.questions Subject: Re: grep Message-ID: <431@decvax.decvax.dec.com.UUCP> Date: 31 Oct 90 12:12:36 GMT References: <1990Oct23.123025.18012@kodak.kodak.com> <64@gdx.UUCP> Sender: news@decvax.dec.com.UUCP Reply-To: evans@decvax.DEC.COM Organization: Synergytics Lines: 20 In article <64@gdx.UUCP>, jay@gdx.UUCP (Jay A. Snyder) writes: |> try: |> find ./ -name "*" -exec grep "xyz" '{}' \; |> |> the find command will execute any command in this manner. It would be more efficient to use: find . -exec grep "xyz" '{}' \; or if you have the xargs command: find . -print | xargs grep xyz - Marc -- =========================================================================== Marc Evans - WB1GRH - evans@decvax.DEC.COM | Synergytics (603)635-8876 Unix and X Software Contractor | 21 Hinds Ln, Pelham, NH 03076 ===========================================================================