From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 1 13:22:00 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C46C216A4CE for ; Tue, 1 Jun 2004 13:22:00 -0700 (PDT) Received: from shaolin.wccnet.org (shaolin.wccnet.org [198.111.176.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62B7843D48 for ; Tue, 1 Jun 2004 13:22:00 -0700 (PDT) (envelope-from anthony@shaolin.wccnet.org) Received: from shaolin.wccnet.org (localhost.wccnet.org [127.0.0.1]) by shaolin.wccnet.org (8.12.11/8.12.2) with ESMTP id i51KL1ox036836; Tue, 1 Jun 2004 16:21:01 -0400 (EDT) Received: (from anthony@localhost) by shaolin.wccnet.org (8.12.11/8.12.3/Submit) id i51KL1Cl036835; Tue, 1 Jun 2004 16:21:01 -0400 (EDT) Date: Tue, 1 Jun 2004 16:21:01 -0400 From: Anthony Schneider To: Cyrille Lefevre Message-ID: <20040601202101.GA35734@x-anthony.com> References: <00ce01c44458$8a28d880$7890a8c0@dyndns.org> <20040527212759.77c409a7@vixen42.24-119-122-191.cpe.cableone.net> <022301c4449f$df350820$7890a8c0@dyndns.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: <022301c4449f$df350820$7890a8c0@dyndns.org> User-Agent: Mutt/1.4i cc: Hackers FreeBSD cc: Vulpes Velox Subject: Re: Darwin cmd import? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2004 20:22:00 -0000 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 28, 2004 at 12:38:10PM +0200, Cyrille Lefevre wrote: > "Vulpes Velox" wrote: > > On Fri, 28 May 2004 04:07:32 +0200 > > "Cyrille Lefevre" wrote: =2E..=20 > http://www.opensource.apple.com/darwinsource/10.3.4/bootstrap_cmds-44/ > http://www.opensource.apple.com/darwinsource/10.3.4/system_cmds-279.6/ >=20 > if the above link need to be registered, > let's try google "darwin +decomment" :) >=20 > > If decomment does what it sounds like, then it can be solved using > > grep... iirc it is possible to tell it to kick out all lines that do > > not match a patern... >=20 > thank you, but decomment isn't just a grep oneliner :P >=20 > relpath - calculate the relative path between two path. > decomment - get rid of C/C++ comments. > sadc/sar - system activity reporter (ac like, but more powerfull). decomment, assuming it simply strips c/c++ comments from source files, could be implemented with a few lines of a lex spec. -Anthony. > Cyrille Lefevre. > --=20 > home: mailto:cyrille.lefevre@laposte.net > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAvOUsKUeW47UGY2kRAhOBAKCABc6XMVTKtyCxci8xFnp8m3tQ4gCfdbbY czeIuDOKoqgZRncTRSzH1B4= =wMYp -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--