Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Getting the name of zsh-generated temp file?
- X-seq: zsh-users 6075
- From: Lloyd Zusman <ljz@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Getting the name of zsh-generated temp file?
- Date: Mon, 05 May 2003 09:50:19 -0400
- >return-path: ljz@xxxxxxxxxx
- In-reply-to: <20030505133637.GA26425@xxxxxxxx> (zefram@xxxxxxxx's message of "Mon, 5 May 2003 14:36:37 +0100")
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <d6ixslhl.fsf@xxxxxxxxxx> <20030505133637.GA26425@xxxxxxxx>
- Reply-to: ljz@xxxxxxxxxx
- Sender: Lloyd Zusman <ljz@xxxxxxxxxx>
Zefram <zefram@xxxxxxxx> 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@xxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author