Using tee to create a log

Inizio della pagina
Allegati:
Messaggio come e-mail
+ (text/plain)
Delete this message
Reply to this message
Autore: Alan Dayley
Data:  
Oggetto: 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.