Re: date of 7 days ago

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeremy C. Reed
Date:  
To: Main PLUG discussion list
Subject: Re: date of 7 days ago
On Fri, 30 Dec 2005, Kevin wrote:

> Meanwhile, the `date` command on my BSD boxen does not support the switch.
> I just tried it on FreeBSD, OpenBSD, NetBSD, and OSX boxes.


On the BSDs, use something like:

date -r $(expr $(date +%s) - 604800)

Jeremy C. Reed

                  Low cost press releases
                 http://www.reedmedia.net/
---------------------------------------------------
PLUG-discuss mailing list - 
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss