tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* basic scripting question - for prior dates
@ 2000-03-16 23:08 Brehl, Blake
  0 siblings, 0 replies; only message in thread
From: Brehl, Blake @ 2000-03-16 23:08 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-03-16 23:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-16 23:08 basic scripting question - for prior dates Brehl, Blake

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