The UNIX and Linux Forums  
Hello and Welcome from to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
problem in script involving month arithmetic rajarp UNIX for Dummies Questions & Answers 6 01-02-2008 12:25 PM
problem in arithmetic operations ithirak17 Shell Programming and Scripting 3 02-06-2007 06:46 AM
arithmetic in ksh amon Shell Programming and Scripting 12 02-05-2007 02:43 AM
Arithmetic In UNIX tygun UNIX for Dummies Questions & Answers 3 11-23-2005 05:46 PM
arithmetic syntax paprbagprincess UNIX for Dummies Questions & Answers 1 05-11-2004 09:30 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-19-2002
inquirer
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Question arithmetic problem

i am used to making scripts for hp-ux. but lately i tried to make some for solaris. the problem is that when i tried to execute it it gave me an error the "let: not found". why is that? how can i perform an arithmetic function in the solaris shell script?

thanks
  #2 (permalink)  
Old 02-19-2002
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,119
sh on HP-UX is a modified ksh and it supports the "let" command. sh on Solaris is just the old Bourne shell. Switch to ksh on Solaris and "let" will work.
  #3 (permalink)  
Old 02-20-2002
inquirer
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Talking thanks a lot

yes, you are right there. thanks a lot!

this site always never fails me... keep up the good work
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 On




All times are GMT -4. The time now is 10:04 PM.


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-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0