Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Sep 2006 13:08:10 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Garance A Drosehn <gad@freebsd.org>
Cc:        =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>, freebsd-current@freebsd.org, Oliver Fromme <olli@lurza.secnetix.de>
Subject:   Re: suggested addition to 'date'
Message-ID:  <44F8932A.6090806@elischer.org>
In-Reply-To: <p06230928c11e2298ca97@[128.113.24.47]>
References:  <200608281545.k7SFjn6l063922@lurza.secnetix.de> <p06230928c11e2298ca97@[128.113.24.47]>

index | next in thread | previous in thread | raw e-mail

Garance A Drosehn wrote:

> At 5:45 PM +0200 8/28/06, Oliver Fromme wrote:
>
>> John Baldwin wrote:
>>  > Oliver Fromme wrote:
>>  > > There's another possibility, which doesn't require a new
>>  > > option letter at all.  You could add a new escape sequence
>>  > > to the format string, e.g. "%*".  Whenever date(1) is
>>  > > called with a format string containing that sequence, it
>>  > > goes into filter mode and replaces the sequence with the
>>  > > current line.
>
>
> Note that the main objection to this option (at least from my
> point of view) is that date should not be going into filter
> mode.  Not ever.  Date is a command to set or display dates.
> It is not a command to filter files.  'cat' would be a more
> appropriate place to add this option.


well that's your opinion and it's as arbitrary as mine is..

I think Date's job is to output dates (and set them).
To me it makes sense to include the categories of output called 
"Appending" and "Prepending".


home | help

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