suggested addition to 'date'
Julian Elischer
julian at elischer.org
Fri Sep 1 13:08:13 PDT 2006
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".
More information about the freebsd-current
mailing list