这是脚本:
echo '1 2 3 4 5 6' | while read a b c ;do echo result: $c $b $a; done
结果是 3 4 5 6 2 1 谁能解释一下为什么?
bash shell-script
bash ×1
shell-script ×1