Using tee to create a log

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
Supprimer ce message
Répondre à ce message
Auteur: Alan Dayley
Date:  
Sujet: 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.