Search Results

Search: Posts Made By: blaze
5,077
Posted By blaze
Is there any way to evaluate the function...
Is there any way to evaluate the function "stepup" and echo/print it out in one statement or are we stuck doing 2 separate statements - one to evaluate the function and another to display it. Is...
5,077
Posted By blaze
Simple script trying to increment a counter...
Simple script trying to increment a counter within an echo statement never gets past 1 - PLEASE HELP!

Thanks.
~~~~~~~~~~~

#!/bin/sh
stepup()
{
STEP=`expr $STEP + 1`
echo $STEP
}
...
Showing results 1 to 2 of 2

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