suggested addition to 'date'
Garance A Drosehn
gad at FreeBSD.org
Fri Sep 1 10:53:38 PDT 2006
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.
--
Garance Alistair Drosehn = drosehn at rpi.edu
Senior Systems Programmer or gad at FreeBSD.org
Rensselaer Polytechnic Institute; Troy, NY; USA
More information about the freebsd-current
mailing list