zsh-users
 help / color / mirror / code / Atom feed
From: "Štěpán Němec" <stepnem@gmail.com>
To: Peter Stephenson <p.w.stephenson@ntlworld.com>
Cc: zsh-users <zsh-users@zsh.org>
Subject: Re: =() and &! don't go together?
Date: Wed, 07 Sep 2011 20:23:20 +0200	[thread overview]
Message-ID: <87fwk843fr.fsf@gmail.com> (raw)
In-Reply-To: <20110828171925.0b1510ea__32210.3851977319$1314548645$gmane$org@pws-pc.ntlworld.com> (Peter Stephenson's message of "Sun, 28 Aug 2011 17:19:25 +0100")

On Sun, 28 Aug 2011 18:19:25 +0200
Peter Stephenson wrote:

> On Thu, 25 Aug 2011 13:22:09 +0200
> Štěpán Němec <stepnem@gmail.com> wrote:
>> It looks like when &! is used (i.e., "program =(computation) &!"), the
>> temporary file created by =() does not exist at the point the command
>> tries to access it. Is there a solution to this?

[...]

> You can work around both problems with
>
> (program =(computation)) &!

[...]

> The following patch does what I think is the best we can, namely just
> leave the files lying around but document the fact and the workaround.

[...]

On Mon, 29 Aug 2011 17:59:32 +0200
Bart Schaefer wrote:

> [>workers]

[...]

> Or { ... }&! too.

Thank you both very much for the suggestions and the fix! (I can't
really comment on whether the patch is the Right Thing to do or not, in
any case it does seem to fix the problem.)

-- 
Štěpán


      parent reply	other threads:[~2011-09-07 18:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-25 11:22 Štěpán Němec
2011-08-28 16:19 ` Peter Stephenson
     [not found] ` <20110828171925.0b1510ea__32210.3851977319$1314548645$gmane$org@pws-pc.ntlworld.com>
2011-09-07 18:23   ` Štěpán Němec [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=87fwk843fr.fsf@gmail.com \
    --to=stepnem@gmail.com \
    --cc=p.w.stephenson@ntlworld.com \
    --cc=zsh-users@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).