From owner-freebsd-questions Fri Feb 15 16:36:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id 9F38637B416 for ; Fri, 15 Feb 2002 16:36:14 -0800 (PST) Received: from [212.238.194.207] (helo=mailhost.raggedclown.net) by post.mail.nl.demon.net with esmtp (Exim 3.33 #1) id 16bspp-0007Np-00 for freebsd-questions@freebsd.org; Sat, 16 Feb 2002 00:36:13 +0000 Received: from angel.raggedclown.net (angel.raggedclown.intra [192.168.1.7]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [buffy]) with ESMTP id BE7C213040 for ; Sat, 16 Feb 2002 01:36:12 +0100 (CET) Received: by angel.raggedclown.net (Ragged Clown Host [angel], from userid 1001) id DECE3225BC; Sat, 16 Feb 2002 01:36:12 +0100 (CET) Date: Sat, 16 Feb 2002 01:36:12 +0100 From: Cliff Sarginson To: freebsd-questions@freebsd.org Subject: Re: where to find source code? Message-ID: <20020216003612.GA890@raggedclown.net> References: <20020216003301.GA807@raggedclown.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020216003301.GA807@raggedclown.net> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Feb 16, 2002 at 01:33:01AM +0100, Cliff Sarginson wrote: > On Fri, Feb 15, 2002 at 08:03:45PM -0400, m wrote: > > > > Hi. I want to find the source code of a command. Where? How? I tried > > looking in the SRC of the 4.5 release in ftp.freebsd.org, but you know what > > is there. I want just the source code of basename. Is there any easy way to > > find it or extract it? Thanks. > > > > > /usr/src/usr.bin/basename/basename.c > I just sent it to you, it's only 40 lines or so... -- Regards Cliff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message