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; USAReceived on Fri Sep 01 2006 - 15:53:38 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:59 UTC