2010年4月13日火曜日

timeの結果をリダイレクト

time command &> log ではだめで、
(time command) &> log にする必要あり。
time command &> log だと、commandのエラーだけ出力される。