Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Tee all output to log file?



On Tue, Feb 01, 2011 at 06:41:26PM -0500, Benjamin R. Haskell wrote:

> Boiled down even further, it's really just this I'm looking for:
> exec |& tee logfile

How about

    exec >& /dev/tty >& logfile

when multios is set.

GI

-- 
'Ethernet' -- Something used to catch the etherbunny.



Messages sorted by: Reverse Date, Date, Thread, Author