On Fri, 30 Apr 2004, Ron Johnson wrote:
> Hi,
>
> How can a script find out what yesterday was?
>
> In it's "time/date" commands, OpenVMS has defined the constants
> YESTERDAY, TODAY, and TOMORROW.
>
> Does date(1) have anything similar?
DATE=`date --date '1 day ago'`
or date --date 'yesterday', with GNU date.
ray
___________________
Nolug mailing list
nolug@nolug.org
Received on 05/01/04
This archive was generated by hypermail 2.2.0 : 12/19/08 EST