Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2000 23:01:55 +0200
From:      Thierry Herbelot <herbelot@cybercable.fr>
To:        Marc Tardif <intmktg@CAM.ORG>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: finding source to functions
Message-ID:  <39D50343.A70C22D5@cybercable.fr>
References:  <Pine.LNX.4.10.10009291637130.17580-100000@Gloria.CAM.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39D50343.A70C22D5>