From owner-freebsd-questions Tue Mar 21 18:05:54 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA15829 for questions-outgoing; Tue, 21 Mar 1995 18:05:54 -0800 Received: from vespucci.iquest.com (vespucci.iquest.com [199.170.120.42]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id SAA15823 for ; Tue, 21 Mar 1995 18:05:53 -0800 Received: from dkelly.iquest.com (n4hhe.iquest.com [204.177.193.231]) by vespucci.iquest.com (8.6.9/8.6.9) with SMTP id UAA05093; Tue, 21 Mar 1995 20:04:14 -0600 Message-ID: Date: Tue, 21 Mar 95 20:03:10 CST From: "David Kelly" Subject: Re: How to search through sources?? To: "Paul Vinciguerra" , questions@FreeBSD.org X-Mailer: VersaTerm Link v1.1.5 Sender: questions-owner@FreeBSD.org Precedence: bulk >How can I search through the sources to find a Procedure? For example, >if I wanted to look at the panic() function. Is there a tool that will >scan the sources? (P.S. I'm not looking for panic()) > >Thanks > >Paul find /usr/src/sys -type f -exec grep -l panic "{}" \; -- David Kelly N4HHE, n4hhe@amsat.org, dkelly@iquest.com ---------------------------------------------------------------------- The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.