我收到此错误:i<=: Expression is not complete; more tokens expected.
这是代码:
vr=`$line`
set sep_mx=`echo $vr | awk '{
n=split($0,x,"@#;")
print n
}'`
echo $sep_mx
i=1 && while ((i<=$sep_mx))
do
echo $vr | awk -v er=$i '{
n=split($0,x,"@#;")
print x[er]
}'
((i+=1))
done
任何人都可以帮助我吗?谢谢