Idea for date(1) improvement.

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Wed, 08 Sep 2004 12:51:00 +0200
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"

?


-- 
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 - 08:51:02 UTC

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