zsh-users
 help / color / mirror / code / Atom feed
From: gi1242+zsh@gmail.com
To: zsh-users@zsh.org
Cc: "Benjamin R. Haskell" <zsh@benizi.com>
Subject: Re: Tee all output to log file?
Date: Wed, 2 Feb 2011 00:23:46 -0500	[thread overview]
Message-ID: <20110202052346.GA25854@andrew.cmu.edu> (raw)
In-Reply-To: <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.


      parent reply	other threads:[~2011-02-02  5:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-01 23:41 Benjamin R. Haskell
2011-02-02  0:12 ` Kurtis Rader
2011-02-02  5:23 ` gi1242+zsh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110202052346.GA25854@andrew.cmu.edu \
    --to=gi1242+zsh@gmail.com \
    --cc=zsh-users@zsh.org \
    --cc=zsh@benizi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).