Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Getting the name of zsh-generated temp file?



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



Messages sorted by: Reverse Date, Date, Thread, Author