From owner-freebsd-current@FreeBSD.ORG Thu Sep 7 00:54:41 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 865B416A4E2 for ; Thu, 7 Sep 2006 00:54:41 +0000 (UTC) (envelope-from rnsanchez@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E4AF43D76 for ; Thu, 7 Sep 2006 00:54:34 +0000 (GMT) (envelope-from rnsanchez@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so13211nzn for ; Wed, 06 Sep 2006 17:54:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding; b=N8NiH63glLF28WchDTsNWk1Hpfqy26PzKTpHajJSUkELF1qTrc2lHtYqeSCh/YAtdPpYS+QCdO5HA4yHhvxrQfiTrQ9LefahYoOTRFYgxgDj0OyGZTpP/b+kOnMccj5wxZlKOy8xioe3RzufYTBeMnmdODB5IkHryM8pQPAs3dg= Received: by 10.65.119.14 with SMTP id w14mr118270qbm; Wed, 06 Sep 2006 17:54:34 -0700 (PDT) Received: from sauron.lan.box ( [200.102.67.234]) by mx.gmail.com with ESMTP id f18sm60948qba.2006.09.06.17.54.31; Wed, 06 Sep 2006 17:54:33 -0700 (PDT) Date: Wed, 6 Sep 2006 21:54:31 -0300 From: Ricardo Nabinger Sanchez To: Garance A Drosehn Message-Id: <20060906215431.259374bf.rnsanchez@gmail.com> In-Reply-To: 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> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-current@FreeBSD.org, Peter Jeremy , Doug Barton , Julian Elischer 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 00:54:41 -0000 Hello, On Wed, 6 Sep 2006 17:34:53 -0400, Garance A Drosehn wrote: > Actually, I have another useful option in mind that could be added > with very little effort. So let me say that I do intend to install > this as a new /usr/bin/sfilter command, assuming that does not > generate too many objections. I expect this will work out better > than adding new options to `date' or to `cat'. First of all, the purpose of my message is to (politely) ask a question, not object the proposals so far nor suggest anything -- so don't be offended. The way I understand all these proposals, sfilter will eventually be equivalent to sed/awk in terms of features. Now the question: would it be appropriate to extend sed/awk in order to implement these cool features? Or this would break POLA, for placing variable timestamps whereas one would expect them to be the same for every line, just like the current behavior of sed? Thanks in advance, and sorry for such naïve question. -- Ricardo Nabinger Sanchez Powered by FreeBSD "Left to themselves, things tend to go from bad to worse."