From owner-freebsd-current@FreeBSD.ORG Thu Sep 7 01:15:47 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1752116A4DA; Thu, 7 Sep 2006 01:15:47 +0000 (UTC) (envelope-from prvs=julian=39828977f@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ACC143D58; Thu, 7 Sep 2006 01:15:36 +0000 (GMT) (envelope-from prvs=julian=39828977f@elischer.org) Received: from unknown (HELO [10.251.18.229]) ([10.251.18.229]) by a50.ironport.com with ESMTP; 06 Sep 2006 18:15:36 -0700 Message-ID: <44FF72B9.7000201@elischer.org> Date: Wed, 06 Sep 2006 18:15:37 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maxim Sobolev References: <200608281545.k7SFjn6l063922@lurza.secnetix.de> <200609020956.54008.Lucas.James@ldjcs.com.au> <20060902031247.GE749@turion.vk2pj.dyndns.org> <20060904192006.GA3292@turion.vk2pj.dyndns.org> <44FD994C.70104@errno.com> <44FDEE7C.9060104@FreeBSD.org> <44FDF245.9000302@elischer.org> <44FDF36A.3010608@FreeBSD.org> <44FF71AD.7060508@FreeBSD.org> In-Reply-To: <44FF71AD.7060508@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org, Doug Barton , Garance A Drosehn , Peter Jeremy Subject: Re: Attempt #3, adding a new command 'sfilter' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Sep 2006 01:15:47 -0000 Maxim Sobolev wrote: > Why not just write simple 5-line script in your favorite scripting > language (perl, python, ruby etc) that does just this and forget about > it? I don't think performance is really a concern here since the most > time this program will spend waiting for the I/O anyway, so that doing > it in C makes little or no sense. > > IMHO this is one of the reasons we do have all those lightweight > languages around - to avoid having separate utility and/or command > line option for each and every particular situation. > > -Maxim perl is not lightweight to install on a machine. have you seen how much crap gets installed when you add perl? lightweight is adding 100 instructions or so to 'date'. or adding the strftime instruction to awk (as it is in gawk) >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to >> "freebsd-current-unsubscribe@freebsd.org" >