From owner-freebsd-hackers Sat Sep 30 12:38:23 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mailgw02.execpc.com (mailgw02.execpc.com [169.207.3.78]) by hub.freebsd.org (Postfix) with ESMTP id 8F78F37B66C for ; Sat, 30 Sep 2000 12:38:21 -0700 (PDT) Received: from earth.execpc.com (rmukerji@earth.execpc.com [169.207.16.1]) by mailgw02.execpc.com (8.9.1) id OAA08897; Sat, 30 Sep 2000 14:38:20 -0500 Received: (from rmukerji@localhost) by earth.execpc.com (8.9.0) id OAA19305; Sat, 30 Sep 2000 14:38:20 -0500 (CDT) Date: Sat, 30 Sep 2000 14:38:20 -0500 From: Arindum Mukerji To: Marc Tardif Cc: freebsd-hackers@freebsd.org Subject: Re: finding source to functions Message-ID: <20000930143820.A18501@earth.execpc.com> Mail-Followup-To: Marc Tardif , freebsd-hackers@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Marc Tardif [000929 15:37]: > 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? > The ctags utility that comes with vim (http://www.vim.org/) accepts an argument of "-R" for recursive ctag-ing. I find it most useful in indexing my tree. -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message