https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261437
Bug ID: 261437 Summary: outdated mktemp(1) examples Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Manual Pages Assignee: b...@freebsd.org Reporter: wo...@freebsd.org CC: d...@freebsd.org The manual page for mktemp(1) https://man.freebsd.org/mktemp/1 has examples for temporary filenames as /tmp/temp.XXXX TMPFILE=`mktemp /tmp/${tempfoo}.XXXXXX` || exit 1 Using 4 or 6 X was probably ok 20 years ago, but not anymore. Best practice is to use 10 X. Given that our users often copy & paste examples from our manual pages we should update the documentation. PS: same for mkstemp(3) https://man.freebsd.org/mkstemp/3 -- You are receiving this mail because: You are the assignee for the bug.