Using tee to create a log

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Alan Dayley
日付:  
題目: Using tee to create a log
So, is there a version of tee that captures stderr too? Hmm... A
programming project...

Alan

At 12:53 PM 7/26/01 -0700, you wrote:
>This should do it:
>
>% your_utility | tee output.log
>
>Mind you, 'tee' only works on stdout so if your utilties output is really on
>stderr, it won't capture it by default.