Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Tee all output to log file?
- X-seq: zsh-users 15760
- From: gi1242+zsh@xxxxxxxxx
- To: zsh-users@xxxxxxx
- Subject: Re: Tee all output to log file?
- Date: Wed, 2 Feb 2011 00:23:46 -0500
- Cc: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- In-reply-to: <alpine.LNX.2.01.1102011836170.2792@hp>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <alpine.LNX.2.01.1102011836170.2792@hp>
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