UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old October 18th, 2004, 10:26 AM
Leon5wu Leon5wu is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 1 Leon5wu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Newbie qustions

Hi there,

I have two scripts A.conf and B.ksh.
In A, there is a line as this
eval `B.ksh -g OP_EMAIL=operatorEmail \
-g OP_ADDRESS=operatorAddress`
Here is only sample code, indead, there are a lot of -g XXX=yyyy patterns appending in A.conf

In B, there is a line as this
java -jar myDB.jar --configFile=config.properties $@

In config.properties, there are many entries of name-value pairs which are corresponded to the names of -g patterns in A.conf.
When I invoked A.conf by . A.conf, I got the following error
-ksh: eval: line 1: Error: not found

What was the posible reasons could couse this error?

Any comments would appreciate.

Thanks.

Leon

Reply With Quote
  #2  
Old October 23rd, 2004, 09:49 PM
satyap satyap is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 210 satyap User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 49 sec
Reputation Power: 4
Try changing it to:

eval `./B.ksh ...

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > Newbie qustions


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway