Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 2006 18:06:31 +0200 (CEST)
From:      "Julian H. Stacey" <jhs@berklix.org>
To:        Sam Leffler <sam@errno.com>
Cc:        Peter Jeremy <peterjeremy@optushome.com.au>, freebsd-current@freebsd.org, Julian Elischer <julian@elischer.org>, Garance A Drosehn <gad@freebsd.org>
Subject:   Re: Adding a '-D date' option to `cat'
Message-ID:  <200609051606.k85G6VZx029609@thin.berklix.org>
In-Reply-To: <44FD994C.70104@errno.com>
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]> <44FD994C.70104@errno.com>

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



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