From owner-freebsd-current@FreeBSD.ORG Tue Sep 5 16:08:08 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 34CD216A4E5; Tue, 5 Sep 2006 16:08:08 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from thin.berklix.org (thin.berklix.org [194.246.123.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id E13F143D5A; Tue, 5 Sep 2006 16:07:12 +0000 (GMT) (envelope-from jhs@berklix.org) Received: from thin.berklix.org (localhost [127.0.0.1]) by thin.berklix.org (8.12.11/8.12.11) with ESMTP id k85G6xZf029610; Tue, 5 Sep 2006 18:06:59 +0200 (CEST) (envelope-from jhs@thin.berklix.org) Received: (from jhs@localhost) by thin.berklix.org (8.12.11/8.12.11/Submit) id k85G6VZx029609; Tue, 5 Sep 2006 18:06:31 +0200 (CEST) (envelope-from jhs) Date: Tue, 5 Sep 2006 18:06:31 +0200 (CEST) From: "Julian H. Stacey" Message-Id: <200609051606.k85G6VZx029609@thin.berklix.org> To: Sam Leffler Fcc: sent-mail In-reply-to: <44FD994C.70104@errno.com> 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> Comments: In-reply-to Sam Leffler message dated "Tue, 05 Sep 2006 08:35:40 -0700." Cc: Peter Jeremy , freebsd-current@freebsd.org, Julian Elischer , Garance A Drosehn Subject: Re: Adding a '-D date' option to `cat' 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: Tue, 05 Sep 2006 16:08:08 -0000 -------- Sam Leffler wrote: > Garance A Drosehn wrote: > > > I intend to commit this within a few days, unless there are major > > objections to it. I am posting this HEADSUP under a new subject, > > so people can dump all kinds of paint over me before I commit it. > > I have ignored all the subsequent postings about modifying date to add > completely new functionality that is utterly unrelated to it's purpose > in life. From the looks of this posting it appears you've chosen cat as > the new victim for this functionality. This again is wrong; cat is a > filter that concatenates streams of data and does not modify their contents. > > I think committing any changes of the sort are wrong-headed and totally > contrary to the way UNIX was designed. If you want a program that acts > as a filter and adds a timestamp to each line of input it receives > create a new one. I even have a name for this program: stamp. > > Sam Agreed. More crud in cat would be bad. Too much already (line numbering). I've known Cat since V6, it's supposed to be light & small Fancy stuff better elsewhere, eg `pr' PS This probably won't make it to list, as I'm fixing my SASL auth, & my masquerade will prob. fail & not match sub'd address. -- Julian Stacey. BSD Unix C Net Consultancy, Munich/Muenchen http://berklix.com Mail Ascii, not HTML. Ihr Rauch = mein allergischer Kopfschmerz. ~