Shell script – How to display variable names and their values in loop
I am trying to display variable names and their values in a for loop, through a ksh shell script. But I’m not sure how to do that. Should I use something like eval for this? Here is an example script: #!/bin/ksh A=var1 B=var2 C=var3 D=var4 param="" for i in A B C D do param="$param… Read More Shell script – How to display variable names and their values in loop