tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Brehl, Blake" <Blake.Brehl () anritsu ! com>
To: tru64-unix-managers
Subject: basic scripting question - for prior dates
Date: Thu, 16 Mar 2000 23:08:52 +0000	[thread overview]
Message-ID: <96079341819580.tru64-unix-managers.marc@archive.invalid> (raw)

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@anritsu.com

                 reply	other threads:[~2000-03-16 23:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox