5 ms·
You can't use it directly from bash, but its readily available in perl, with the POSIX module. Even in bash, you can unlink your temp files before you use them
by hossbeast 9y ago
You can't use it directly from bash, but its readily available in perl, with the POSIX module.
Even in bash, you can unlink your temp files before you use them, and pass them around by file descriptor rather than by name.
- jwilk 9y ago> its readily available in perl, with the POSIX module Oh? I don't see anything like this in the Perl codebase. On the other hand, O_TMPFILE is available in Python since 3.4: https://docs.python.org/3/whatsnew/3.4.html#os https://docs.python.org/3/whatsnew/3.4.html#os