Linux中编写shell脚本,输出如下序列:1,3,2,4,3,5,4,6,···100...答:/bin/bash#script name prg8.shcleari=1for ((j=1;j<=98;j++))do echo -n "$j,`expr $j + 2`," if [ $i -eq 10 ] then echo "" i=1 else i=$((i+1)) fi doneecho "" 注释里已经说了,script name prg8.sh,脚本名叫prg8.sh,当然,叫...