I want to use zsh's process substitution to create a temporary file that can then be read by another program. However, the file it generates has no file extension, so the program reading it refuses to continue.
This can be demonstrated by:
$ echo =(ls)
/tmp/zshmgIWvT
What I want to happen is it to produce a filename like /tmp/zshmgIWvT.wav
Can zsh do this?
Best Answer
Somewhere in the depths of
zshparam(1)
one may find:So
You may also want to set
TMPPREFIX
especially on shared systems to help avoid various/tmp
security flaws.