We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
tmp=$(tempfile)
tmp=$(mktemp)
tempfile is a Debian specific utility for creating temporary files. Its man page notes:
tempfile
tempfile is deprecated; you should use mktemp(1) instead.
Neither tempfile nor mktemp are POSIX, but tempfile is Debian specific while mktemp works on GNU, OSX, BusyBox, *BSD and Solaris.
mktemp
ShellCheck will not recognize when a function overrides this name.
There was an error while loading. Please reload this page.