Re: Idea for date(1) improvement.

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Wed, 08 Sep 2004 13:58:46 +0200
In message <Pine.BSF.4.53.0409081106290.51837_at_e0-0.zab2.int.zabbadoz.net>, "Bjo
ern A. Zeeb" writes:
>On Wed, 8 Sep 2004, Poul-Henning Kamp wrote:
>
>> I have sometimes needed to get the date of yesterday or last monday
>> and so on for creating filenames.
>>
>> We have this very flexible code in at(1) and cvs(1) for specifying
>> time.
>>
>> Anyone up for making it possible to say:
>>
>> 	date -w "2 days ago"
>>
>> ?
>
>-w ? isn't it -v ?  date -v-2d ?

I meant -w as a more flexible complement to the very restricted
syntax of -v.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Wed Sep 08 2004 - 09:58:54 UTC

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