0045login:Penguin垢版 | 大砲2015/10/06(火) 00:31:46.32ID:F1F9KS5h % cat test.sh ( echo 1; echo 2 >&2; echo 3; echo 4 >&2 ) % : > log; stdbuf -oL -eL bash test.sh 2>>log | tee -a log 1 3 % cat log 2 1 3 4 stdout と stderr との同期とれてないのが、、うーん