Networker

Re: [Networker] Does any one have some UNIX scripts that can calculate dates in the future? Summary

2004-03-31 13:14:07
Subject: Re: [Networker] Does any one have some UNIX scripts that can calculate dates in the future? Summary
From: Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Wed, 31 Mar 2004 09:40:34 -0800
> The problem I am having now is when I run the command manualy it works, but 
> fails when it's executed as part of a korn shell script.
>
>
> nsrmm -S 1002073857 -e "02/24/04 + 365 days"     ------works manualy
>
> But from the script I get:
>
> nsrmm -S $ssid -e \"$sscreate + 365 days\"    --actual command in scipt

Why are you escaping the double quotes in the script?

--
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=