[Bug 298127] mktemp.1 man page needs some updates

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 02 Sep 2026 17:49:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298127

            Bug ID: 298127
           Summary: mktemp.1 man page needs some updates
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: wosch@FreeBSD.org
                CC: doc@FreeBSD.org

The manual page mktemp(1) https://man.freebsd.org/mktemp/1 needs some updates.

1. It should mention the default number of X (10), and the total number of
combinations (26^10). The current example uses 6 X, which is far below the
industry standard of 10 X.

2. It should mention the default template if not specified on the command line:

/tmp/tmp.XXXXXXXXXX or ${TMPDIR:=/tmp}/<prefix>.XXXXXXXXXX

see also the openbsd man page at
https://man.freebsd.org/cgi/man.cgi?query=mktemp&manpath=OpenBSD+7.9
where our man page comes from.

-- 
You are receiving this mail because:
You are on the CC list for the bug.