Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2001 15:20:41 -0500
From:      Bill Moran <wmoran@mail.iowna.com>
To:        "Justin C. Sherrill" <jsherri1@rochester.rr.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: source to a command
Message-ID:  <3A65FE99.3B68D7B0@mail.iowna.com>
References:  <NEBBJLILOLHNMIMECELPGEIMCLAA.jsherri1@rochester.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Justin C. Sherrill" wrote:
> 
> If I want to find the source to a program that isn't in ports but in the
> base distribution (in this case, the 'script' command), where could I look?

First, you'll have to have installed the source distro.
By default, sys sources are in /usr/src. There are subdirectories below
that. I usually end up doing a "find /usr/src -name script -print"
because I'm seldom sure what category the program fits into (whether
it's GNU or tools or what)
With a little more knowledge of the source tree you'd be able to find
what you're looking for quickly, but this info should get you there
reasonably fast.

-Bill


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A65FE99.3B68D7B0>