Date: Wed, 08 Sep 2004 13:58:46 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Cc: FreeBSD current mailing list <current@freebsd.org> Subject: Re: Idea for date(1) improvement. Message-ID: <40171.1094644726@critter.freebsd.dk> In-Reply-To: Your message of "Wed, 08 Sep 2004 11:44:44 -0000." <Pine.BSF.4.53.0409081106290.51837@e0-0.zab2.int.zabbadoz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.53.0409081106290.51837@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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40171.1094644726>