Search Results

Search: Posts Made By: Elizabeth H
2,441
Posted By Elizabeth H
Thanks a bunch for the quick response. Is there a...
Thanks a bunch for the quick response. Is there a way you can help me with this using the same format , like the "echo" and "trim". The codereview people will ask for consistency and all our coding...
2,441
Posted By Elizabeth H
How to use for/while loop with multiple variables?
Hi,

I have two variables like below which will always be of the same size
a=1:2:3
b=A:B:C

I need to use a for/while loop that will have both the variables available. I cannot use an array...
1,150
Posted By Elizabeth H
Can I do something like this? temp=`for...
Can I do something like this?


temp=`for t in var1 var2 var3; do <save the value> ; done`
<loop which sets the values to a different value>
eval echo $temp


Is there a way I can save the...
1,150
Posted By Elizabeth H
Preserving values with for loop for later use
Below is the issue I am having.

I have a few variables which have certain values in them like
var1=23
var2=46
var3=78 etc...


I want to save these values with the help of a for loop in a...
Showing results 1 to 4 of 4

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