The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Perderabo: Is that a common handle? Smiling Dragon What's on Your Mind? 2 05-14-2008 08:55 PM
apologies to Perderabo keith.m Post Here to Contact Site Administrators and Moderators 0 12-20-2006 04:22 AM
Perderabo is a UNIX King saabir Post Here to Contact Site Administrators and Moderators 5 10-06-2003 03:54 AM
Follow-up w/ Perderabo re: mimetool jwperry Shell Programming and Scripting 3 04-15-2002 12:50 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-01-2006
Registered User
 

Join Date: Apr 2006
Posts: 6
Question to a Perderabo script

Hi
I tried this date script http://www.unix.com/unix-dummies-questions-answers/4870-days-elapsed-between-2-dates.html#post16559 but I am probably doing something wrong.
If i type:
datecalc -a 2006 05 01 + 5
I get following error message:
datecalc: Syntax error at line 207

If i look at line 207 i dont get it! But thats not surprising. But it would be great if someone could help cause its exactly why i am looking for.

Thanks
David
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-01-2006
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,454
My guess would be that the script was not executed with ksh. Make that you have execute permission set on the script and that /usr/bin/ksh is really the path to the korn shell.
Reply With Quote
  #3 (permalink)  
Old 05-02-2006
Registered User
 

Join Date: Apr 2006
Posts: 6
Its almost too embarassing to say but it had nothing to do with your script more with my copy paste!

But thanks for the hint.

Regards,
David
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:37 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0