Re: suggested addition to 'date'

From: Julian Elischer <julian_at_elischer.org>
Date: Fri, 01 Sep 2006 13:08:10 -0700
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".
Received on Fri Sep 01 2006 - 18:08:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:59 UTC