Here is a fast way to do function loop :
apply "ssh server%1_pers date" 2 3 5 6 7 8
Replaces %1 with following parameters
same as :
for i in 2 3 5 6 7 8
do
ssh server${i}_pers date
done
apply "ssh server%1_pers date" 2 3 5 6 7 8
Replaces %1 with following parameters
same as :
for i in 2 3 5 6 7 8
do
ssh server${i}_pers date
done