generate hss profile via shell

#!/bin/ksh
printf "data generation is beginning ...\n"
#rm -rf pstn2ue_data
orig_num=6002042001
printf "SEQUENTIAL
# USER;  AUTHENTICATION; local Port; Media Port\n">reg_data
for ((i=0;i<=54714;i++))


do
printf "$((orig_num+i));qd.lucentlab.com;$i;passwordlss;$((orig_num+i));qd.lucentlab.com;$i;$i;61.9.78.32;161.9.78.32\n">>reg_data
done
printf "data generation is done!\n"

你可能感兴趣的:(shell)