Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Sep 2004 12:51:00 +0200
From:      Poul-Henning Kamp <phk@phk.freebsd.dk>
To:        current@freebsd.org
Subject:   Idea for date(1) improvement.
Message-ID:  <38933.1094640660@critter.freebsd.dk>

next in thread | raw e-mail | index | archive | help

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@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?38933.1094640660>