r/code • • Oct 03 '26

Blog mktemp: stop inventing your own temporary files | davlgd

Thumbnail 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.