From owner-freebsd-hackers Wed Oct 13 0: 7:23 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from icon.icon-bg.net (icon-bg.net [212.56.11.2]) by hub.freebsd.org (Postfix) with ESMTP id 6683714C0F for ; Wed, 13 Oct 1999 00:07:14 -0700 (PDT) (envelope-from v0rbiz@icon-bg.net) Received: from plamen (rado.icon-bg.net [212.56.11.4] (may be forged)) by icon.icon-bg.net (8.9.3/8.9.3) with SMTP id KAA28208 for ; Wed, 13 Oct 1999 10:08:01 +0300 Message-ID: <005701bf1551$d7788f80$040b38d4@plamen.icon-bg.net> From: "Victor Ivanov" To: Subject: Re: Search a symbol in the source tree Date: Wed, 13 Oct 1999 10:06:18 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >Can anyone suggest me a way of searching symbols in the entire /usr/src >tree? I normally use grep */*. But grep does not work recursively, right? >Something like a small shell script may do this. Thanks a lot. > >-Zhihui > find . -name '*' | xargs grep expression ...or something :) regards, v0rbiz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message