From owner-freebsd-hackers@FreeBSD.ORG Fri May 28 03:39:44 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 683FA16A4CE for ; Fri, 28 May 2004 03:39:44 -0700 (PDT) Received: from ioskeha.hittite.isp.9tel.net (ioskeha.hittite.isp.9tel.net [62.62.156.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEA2643D2F for ; Fri, 28 May 2004 03:39:43 -0700 (PDT) (envelope-from clefevre-lists@9online.fr) Received: from pc2k (unknown [80.119.167.76]) by ioskeha.hittite.isp.9tel.net (Postfix) with SMTP id 07E5017B4AE; Fri, 28 May 2004 12:39:07 +0200 (CEST) Message-ID: <022301c4449f$df350820$7890a8c0@dyndns.org> From: "Cyrille Lefevre" To: "Vulpes Velox" References: <00ce01c44458$8a28d880$7890a8c0@dyndns.org> <20040527212759.77c409a7@vixen42.24-119-122-191.cpe.cableone.net> Date: Fri, 28 May 2004 12:38:10 +0200 Organization: ACME MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 cc: Hackers FreeBSD 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: Fri, 28 May 2004 10:39:44 -0000 "Vulpes Velox" wrote: > On Fri, 28 May 2004 04:07:32 +0200 > "Cyrille Lefevre" wrote: > > > regarding the APSL (http://www.opensource.apple.com/apsl/), > > do you think it is possible to import some darwin commands w/ mods. > > > > for instance, I thing to decomment and relpath from bootstrap_cmds, > > sadc and sar from system_cmds, and maybe some others in the future. > > > > also, how about to import NetBSD shlock ? and CMU md (a sort of > > mkdep in C) ? > > > > PS : decomment and relpath only need some mods while sadc would need > > a large amount of mods, don't know about sar. > > Got links to what they do or any thing? 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/ if the above link need to be registered, let's try google "darwin +decomment" :) > 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... thank you, but decomment isn't just a grep oneliner :P 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). Cyrille Lefevre. -- home: mailto:cyrille.lefevre@laposte.net