From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27412 invoked from network); 5 May 2003 13:50:36 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 5 May 2003 13:50:36 -0000 Received: (qmail 11260 invoked by alias); 5 May 2003 13:50:21 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6075 Received: (qmail 11253 invoked from network); 5 May 2003 13:50:21 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 5 May 2003 13:50:21 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [216.182.10.250] by sunsite.dk (MessageWall 1.0.8) with SMTP; 5 May 2003 13:50:20 -0000 Received: from localhost (localhost [127.0.0.1]) (uid 0) by asfast.net with local; Mon, 05 May 2003 09:50:19 -0400 To: zsh-users@sunsite.dk Subject: Re: Getting the name of zsh-generated temp file? References: <20030505133637.GA26425@fysh.org> From: Lloyd Zusman >Return-Path: ljz@asfast.com Reply-To: ljz@asfast.com Date: Mon, 05 May 2003 09:50:19 -0400 In-Reply-To: <20030505133637.GA26425@fysh.org> (zefram@fysh.org's message of "Mon, 5 May 2003 14:36:37 +0100") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (berkeley-unix) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: Lloyd Zusman Zefram writes: > Lloyd Zusman wrote: >>Within a zsh script, is there any way that I can get the name of the >>temporary file generated by the =(...) construct? > > $ foo==(echo bar) > $ echo $foo > /tmp/zshp8oWrV > $ cat $foo > bar > > -zefram Thanks. That works great. And it's so obvious ... in hindsight. :) -- Lloyd Zusman ljz@asfast.com