On 4/9/07, Gregory K. Ruiz-Ade <[EMAIL PROTECTED]> wrote:
On Apr 9, 2007, at 12:59 PM, Carl Lowenstein wrote:
> date -d yesterday +%Y-%m-%d
When Carl replies, I tend to learn something new.
This usage requires GNU date, which all of our Linux systems seem to
have. Maybe some of the date routines that come with
{net,free,open}BSD will do the same.
For the full discussion of options, one must see "info coreutils
date". A small example is:
$ date -d "next thursday"
Thu Apr 12 00:00:00 PDT 2007
carl
--
carl lowenstein marine physical lab u.c. san diego
[EMAIL PROTECTED]
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list