Il giorno ven, 18/04/2008 alle 15.31 +0200, pac ha scritto:
> Ho una procedura che esegue una serie di comandi scrivendo un log.
> In questo log ci sono alcune righe che vengono scritte solo in caso di
> errore ad esempio :
> umount $DEVDVD >> $LOG 2>&1
> Come debbo fare per scrivere questi eventuali errori sia su $LOG che
> su $ERROR ?

man tee

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                [EMAIL PROTECTED]
INIT.D Developer                                           [EMAIL PROTECTED]
  Having paid our respects to the dead (Taligent), nearly dead
   (Objective-C) and legendary (Symbolics), let's start digging
   into the features that make Python a great language for mix-in
   programming.                                      -- Chuck Esterbrook

Attachment: signature.asc
Description: Questa รจ una parte del messaggio firmata digitalmente

Rispondere a