linux bash shell调参模板

newc=0.0
lammda=1.5
declare -i c
for c in {5..15..1}
do
newc=`expr "$c*0.1" | bc`(注意这里不是单引号,是撇号)
./main 7 0.1 $lammda 0.0005 /projdata3/info_fil/yqxu/opinion_mining/code_yqxu_improve/junzhu_code_4linux/data/settings_20ng.txt STC_Model 3600 0.2 1 1 $newc 0.1428571 1 &
#cmd
#echo $cmd
done

你可能感兴趣的:(linux bash shell调参模板)