From owner-freebsd-hackers Fri Sep 29 14: 2:11 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from herbelot.dyndns.org (r148m178.cybercable.tm.fr [195.132.148.178]) by hub.freebsd.org (Postfix) with ESMTP id 15CEA37B502 for ; Fri, 29 Sep 2000 14:02:08 -0700 (PDT) Received: from cybercable.fr (multi.herbelot.nom [192.168.1.2]) by herbelot.dyndns.org (8.9.3/8.9.3) with ESMTP id XAA71211; Fri, 29 Sep 2000 23:01:55 +0200 (CEST) (envelope-from herbelot@cybercable.fr) Message-ID: <39D50343.A70C22D5@cybercable.fr> Date: Fri, 29 Sep 2000 23:01:55 +0200 From: Thierry Herbelot X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Marc Tardif Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: finding source to functions References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Marc Tardif wrote: > > How can I find the source to specific functions in /usr/src/sys? I tried > running ctags (find /usr/src/sys/ -type f -print | xargs ctags -w), but it > dumps core because it can't accept so many args. I then tried creating a > tags file for each subdirectory like so: > for i in /usr/src/sys/ > do > if test -d $i > then > cd $i > find ./ -type f -print | xargs ctags -w > cd .. > fi > done > > But that didn't work either. Any suggestions to make browsing the source > code easier? There is glimpse in the ports tree (/usr/ports/textproc/glimpse), which can create a very efficient index for lots of text files (like source files) TfH > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Thierry Herbelot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message