11-19-2009
32,
0
Join Date: Sep 2007
Last Activity: 27 September 2010, 10:17 PM EDT
Posts: 32
Thanks Given: 0
Thanked 0 Times in 0 Posts
Help regarding the script
Dear Experts,
can you please help me how to achieve this,
i am passing a command line arguments in this way,
./Test.sh abc,123,xyz,789,mno,456
like this but inside my Test.sh i want to replace abc means
Test.sh
abc=aaa
xyz=eee
mno=ccc
gtk=ssss
some thing like this means the command line arguments are not going to be static they will change always, so is there any way that while reading the command line arguments through the array can we match the declarations inside the program,
please help me in this regard.