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
sed command error srnagu Shell Programming and Scripting 1 03-21-2008 11:50 AM
tar command error Jagadeeswaran.K Shell Programming and Scripting 1 01-24-2008 02:27 AM
If..else command gives error bhatia333 Shell Programming and Scripting 3 08-23-2007 11:02 AM
if else command syntax error c0384 Shell Programming and Scripting 4 05-18-2007 07:29 AM
Script command error vkamat Shell Programming and Scripting 0 09-15-2006 06:11 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 12-29-2005
Registered User
 

Join Date: Jul 2005
Posts: 30
ksh with bc command error

Hi,
I don't understand why the below code gave me error message:
worked: not found

I am using ksh program.

worked =`/usr/ucb/echo "scale=2; ($logend-$logstart)/3600" | bc`



Thank you very much for your help!
Reply With Quote
Forum Sponsor
  #2  
Old 12-29-2005
vgersh99's Avatar
Moderator
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 3,003
loose the space between 'worked' and '='
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:59 PM.


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 Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0