zsh-workers
 help / color / mirror / code / Atom feed
From: "Benjamin R. Haskell" <zsh@benizi.com>
To: ZyX <zyx.vim@gmail.com>
Cc: zsh-workers@zsh.org
Subject: Re: Tee all output to log file?
Date: Wed, 2 Feb 2011 13:13:10 -0500 (EST)	[thread overview]
Message-ID: <alpine.LNX.2.01.1102021310140.2792@hp> (raw)
In-Reply-To: <201102022105.41927@-zyx>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 688 bytes --]

On Wed, 2 Feb 2011, ZyX wrote:

> Reply to message «Re: Tee all output to log file?»,
> sent 20:28:13 02 February 2011, Wednesday
> by Benjamin R. Haskell:
>
>>     && exec env doinglogging=true ...
> I used to write this as «doinglogging=true exec ...» or with
>    doinglogging=true
>    exec ...
> Any reason why env command should envoked here I am not aware of?

Nope, but it doesn't hurt much.  'env' execs, AFAIK, so it's only an 
extra (light) process startup.  Mainly I was lazy.

Accidentally wrote it as:

&& exec doinglogging=true screen ...

Didn't work, since I'd put the precmd modifiers in the wrong order, and 
I tacked on 'env' instead of rearranging.

-- 
Best,
Ben

      reply	other threads:[~2011-02-02 18:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <alpine.LNX.2.01.1102011836170.2792@hp>
2011-02-02  5:04 ` ZyX
2011-02-02 17:28   ` Benjamin R. Haskell
2011-02-02 18:05     ` ZyX
2011-02-02 18:13       ` Benjamin R. Haskell [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=alpine.LNX.2.01.1102021310140.2792@hp \
    --to=zsh@benizi.com \
    --cc=zsh-workers@zsh.org \
    --cc=zyx.vim@gmail.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).