r/code • u/waozen • Oct 03 '26
Blog mktemp: stop inventing your own temporary files | davlgd
labs.davlgd.com
2
Upvotes
Every shell script eventually needs somewhere to put something. The usual answer looks reasonable and has three separate problems... mktemp is on macOS, Debian and Ubuntu.