Search Results

Search: Posts Made By: Birdi6022
4,683
Posted By Birdi6022
Thanks For the Scripting Advice
I just thought that I should say that, with the above advice, the script DID work (I believe that Glenn Arndt's observation - that I should use ${}$ syntax not {$$} syntax - was where I was going...
4,683
Posted By Birdi6022
(+ sign) Unexpected arithmetic expr script interpretation
In response to Glenn Arndt's response, am I correct in stating that, if I declare a value of num1 and num2 outside of the script, I will find that these values are not automatically accessible from...
4,683
Posted By Birdi6022
(+ sign) Unexpected arithmetic expr script interpretation
In order to make things easier to follow (even thought I'm only dealing with simple scripts), the following are the scripts that are related to each other :

SCRIPT 1 :
#!/bin/bash
num3=`expr...
4,683
Posted By Birdi6022
(+ sign) Unexpected arithmetic expr script interpretation
I have created the following script to add 2 numbers together :
lazyadd2 script :
#!/bin/bash
#I have added the she-bang script above as I felt that this would be a good idea.
#The script...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 12:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy