Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google site



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 !!

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread 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
Sponsored Links
  #2 (permalink)  
Old 05-01-2006
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,150
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.
  #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
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


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-15-2008 12:55 AM
apologies to Perderabo keith.m Post Here to Contact Site Administrators and Moderators 0 12-20-2006 08:22 AM
Perderabo is a UNIX King saabir Post Here to Contact Site Administrators and Moderators 5 10-06-2003 07:54 AM
Follow-up w/ Perderabo re: mimetool jwperry Shell Programming and Scripting 3 04-15-2002 04:50 PM



All times are GMT -4. The time now is 02:57 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0