[Linux-disciples] Dates backwards

Stephen R Laniel steve at laniels.org
Wed Feb 8 15:36:33 EST 2006


There's a nice feature of date(1) under FreeBSD: you can
type things like 'date -v-1w' to display a date one week
before the present date. It doesn't look like date(1) under
Debian or Gentoo has caught up yet. What would you guys use
if you needed to stick "one week ago today" into a shell
script?

The FreeBSD manpage for date(1) is here:
http://www.freebsd.org/cgi/man.cgi?query=date&sektion=1

-- 
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20060208/cdbe09e4/attachment.pgp


More information about the Linux-disciples mailing list