RE: scripting newbie has question...

2003-01-01 Thread Eric Ladner
ECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 30, 2002 4:54 PM > To: Stone, Timothy > Subject: Re: scripting newbie has question... > > > Tim, > > Will this help? > > Regards, Mike Klinke > > > --- > #!/bin/sh > # >

RE: scripting newbie has question...

2002-12-31 Thread Stone, Timothy
Mike and all, Worked like a charm! Thanks! Wishing you a happy new year! Tim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 4:54 PM To: Stone, Timothy Subject: Re: scripting newbie has question... Tim, Will this help? Regards

Re: scripting newbie has question...

2002-12-30 Thread David Busby
Timothy, You can set variables in your script to store the date information, like this (sort of) YR="2003" MO="1" Now your filename becomes "serverlog${MO}${YR}" in your script, You can put the result of commands into variables in your script like YR=`date` (those backticks make the shell se