5

Variable increment (of some sort)

view full story
linux-howto

http://www.unix.com – i have a variable that has more than one value. i am declaring another variable, which will have the old variable data one by one. i want to use the second variable to hold the track of all the variable it has parsed from the first one. can somebody help me how do i declare and use the second variable? e.g. Code: LIST="A:B C:D E:F" for VAR in `print $LIST` do NAME=`print $VAR | cut -d ":" -f1` RETURN_VALUE1=`some action` echo $RETURN_VALUE1 done i want another variable to keep track of what all LIST variable it has processed and need to display that these v (HowTos)