zsh-workers
 help / color / mirror / code / Atom feed
From: "Jun T." <takimoto-j@kba.biglobe.ne.jp>
To: zsh-workers@zsh.org
Subject: Re: "var=value exec > file" ignores the assignment?
Date: Fri, 10 Apr 2015 01:13:50 +0900	[thread overview]
Message-ID: <CFA3929E-C36E-4175-84FF-60484CB673BF@kba.biglobe.ne.jp> (raw)
In-Reply-To: <150408101302.ZM23667@torch.brasslantern.com>


2015/04/09 02:13, Bart Schaefer <schaefer@brasslantern.com> wrote:

> It's possible (likely?) your patch should add a POSIX_BUILTINS test.

In the following case:

x=$(command) exec > file

we want to execute the 'command' unconditionally, but maybe do not want to
set the value of x if POSIX_BUILTINS is unset.
I wonder what is the easiest way (if any) to achieve this.


  reply	other threads:[~2015-04-09 16:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-07 15:51 Jun T.
2015-04-08 17:13 ` Bart Schaefer
2015-04-09 16:13   ` Jun T. [this message]
2015-04-15 19:52     ` Peter Stephenson
2015-04-15 20:27       ` Peter Stephenson

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=CFA3929E-C36E-4175-84FF-60484CB673BF@kba.biglobe.ne.jp \
    --to=takimoto-j@kba.biglobe.ne.jp \
    --cc=zsh-workers@zsh.org \
    /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).