Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Sep 2006 08:35:40 -0700
From:      Sam Leffler <sam@errno.com>
To:        Garance A Drosehn <gad@freebsd.org>
Cc:        Peter Jeremy <peterjeremy@optushome.com.au>, freebsd-current@freebsd.org, Julian Elischer <julian@elischer.org>
Subject:   Re: Adding a '-D date' option to `cat'
Message-ID:  <44FD994C.70104@errno.com>
In-Reply-To: <p06230937c122c6983e00@[128.113.24.47]>
References:  <200608281545.k7SFjn6l063922@lurza.secnetix.de>	<p06230928c11e2298ca97@[128.113.24.47]>	<200609020956.54008.Lucas.James@ldjcs.com.au>	<20060902031247.GE749@turion.vk2pj.dyndns.org>	<20060904192006.GA3292@turion.vk2pj.dyndns.org> <p06230937c122c6983e00@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44FD994C.70104>