Using tee to create a log

Etusivu
Liitteet:
Viesti alkuperäisessä muodossaan
+ (text/plain)
Poista viesti
Vastaa
Lähettäjä: Alan Dayley
Päiväys:  
Aihe: 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.