basic scripting question - for prior dates

From: Brehl, Blake <Blake.Brehl_at_anritsu.com>
Date: Thu, 16 Mar 2000 15:08:52 -0800

Hello Admins,
        I'd like to environment variable that reflects the date 6 months
ago. Using the date command, I can create todays date:

# TODAYSDATE=`date +"%m%d%y"`

which returns a value of 031600

I'm using kornshell. Is there a way to avoid writing a if-then loop, or
does somebody have a date identifier?

Tru64UNIX 4.0Epk1

Thanks in Advance

Blake Brehl
Database Administrator
Anritsu Company United States
Morgan Hill, CA

bbrehl_at_anritsu.com
Received on Thu Mar 16 2000 - 23:11:29 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT