Here is the script. I am not able to increment and Print echo "2=" ${arr[2]}
(Bold line)
Can someone please help me correct it? I am thinking there is some escape sequence error. Just started learning scripts ...
Grumpf - Thanks for the help. Let me try it. Not sure if I need to to print it the same way as you suggested. I still think there is a simple escape sequence which i am missing. Anways I will try you example.
Shock - Was that question to me? If it was for me I am sure you would have not see it earlier .. coz Its just a part of the script in my present environment.
You'll also see that I gave an answer in the other thread - for some reason he didn't seem to like it, but I think it should work once he defines the array on the remote system (as opposed to locally). That is, unless he has some other requirement that has not been made clear.