-
Notifications
You must be signed in to change notification settings - Fork 1.9k
SC2186
koalaman edited this page Dec 10, 2016
·
1 revision
tmp=$(tempfile)tmp=$(mktemp)tempfile is a Debian specific utility for creating temporary files. Its man page notes:
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.
ShellCheck will not recognize when a function overrides this name.