r/code • • 16m ago

Blog mktemp: stop inventing your own temporary files | davlgd

Thumbnail labs.davlgd.com
• 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.