case "$City_Code" in
410)
City_code="911";;
411)
City_code="940";;
412)
City_code="912";;
esac
#=======================================
count=1
#split -l 1000 erp.tmp
#ls xa*|while read name
#do
printf '%08d' $count| read n
awk -F"|" '{printf "%8s%8s%20s%20s%6s%10s\n",$1,$2,$3,$4,$5,$6}' $name >> ${dir_tmp}/${n}_FFFF_${dattmp4}
#printf '%30d%6d' ${n}_FFFF_${dattmp4} ${line}|read ckname ckname
#echo -n "${ckname}${ckname}" >>${n}_FFFF_${dattmp4}.check
#count=$(( $count + 1 ))
#done
echo `wc -l ${dir_tmp}/${n}_FFFF_${dattmp4}|awk '{print $1}'`",0">${dir_tmp}/${n}_FFFF_${dattmp4}.check
阅读(672) | 评论(1) | 转发(0) |