• 2022-06-10
    阅读以下Shell程序,它的输出是_____________ #!/bin/sh echo "ok,nice" loop=0 for str in "hello world" do loop=$(($loop+1)) echo "The $loop loop:$str" done
    A: ok,nice The 2 loop:hello world
    B: ok,nice The 1 loop:hello world
    C: The 1 loop:hello world
    D: ok,nice