Hi takabanana,
eval $[concat client$i\_ip]
Hi Malli,
I deleted my earlier one as I was out of channel on that.
The above suggestion id not gonna work.
When i value would be 1 the result would be
$client1_ip
But it would not show the desired value
Hi Uday,
Try this its woking fine, if you facing any issues please let me know.
set client1_ip "192.168.100.1" set client2_ip "192.168.100.2" set client3_ip "192.168.100.3" set client4_ip "192.168.100.4" set client5_ip "192.168.100.5" set client6_ip "192.168.100.6" for {set i 1} {$i < 6} {incr i} { eval puts $[concat client$i\_ip] }
No one has followed this question yet.