bash date math
From: rick henderson (rick.henderson_at_wsdtx.org)
Date: 07/31/03
- Previous message: Bret Hughes: "Re: Basic Dumb Logging Question"
- Next in thread: Hal Burgiss: "Re: bash date math"
- Reply: Hal Burgiss: "Re: bash date math"
- Maybe reply: Ward William E DLDN: "RE: bash date math"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: redhat <redhat-list@redhat.com> Date: 31 Jul 2003 09:45:55 -0500
Dear list,
In a bash script, I need to know the previous day.
if 03012003 then 02282003
if 05012003 then 04302003
if 08012003 then 07312003
using date, I can get todays date. But I need date math.
any suggestions on how to do this?
Rick
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Bret Hughes: "Re: Basic Dumb Logging Question"
- Next in thread: Hal Burgiss: "Re: bash date math"
- Reply: Hal Burgiss: "Re: bash date math"
- Maybe reply: Ward William E DLDN: "RE: bash date math"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|