• 2022-10-25
    下列代码样例中,哪个存在错误:()
    A: forfilename in $(ls)do cat $filenamedone
    B: for((i=0;i<10;i++))do echo $idone
    C: x=1sum=0while [ $x -le 10 ]do let sum=sum+$x let x=x+1doneecho\ $sum
    D: for $i in 1 2 3 4 5do echo $idone