From owner-freebsd-current@FreeBSD.ORG Tue Sep 5 15:35:51 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 68E2216A4E1; Tue, 5 Sep 2006 15:35:51 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9E3243D58; Tue, 5 Sep 2006 15:35:44 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id k85FZe3S059027 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Sep 2006 08:35:41 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <44FD994C.70104@errno.com> Date: Tue, 05 Sep 2006 08:35:40 -0700 From: Sam Leffler User-Agent: Thunderbird 1.5.0.4 (X11/20060724) MIME-Version: 1.0 To: Garance A Drosehn 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> In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Peter Jeremy , freebsd-current@freebsd.org, Julian Elischer 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 15:35:51 -0000 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