A NOTE has been added to this issue. ====================================================================== https://www.austingroupbugs.net/view.php?id=1616 ====================================================================== Reported By: illiliti Assigned To: ====================================================================== Project: Issue 8 drafts Issue ID: 1616 Category: Shell and Utilities Type: Enhancement Request Severity: Editorial Priority: normal Status: New Name: Mark Lundblad Organization: User Reference: Section: Shell and Utilities Page Number: - Line Number: - Final Accepted Text: ====================================================================== Date Submitted: 2022-11-08 23:03 UTC Last Modified: 2025-03-06 18:02 UTC ====================================================================== Summary: Standardize mktemp utility ======================================================================
---------------------------------------------------------------------- (0007097) lanodan (reporter) - 2025-03-06 18:02 https://www.austingroupbugs.net/view.php?id=1616#c7097 ---------------------------------------------------------------------- <blockquote>No support for <pre>mktemp /tmp/XXXXXX.html</pre> or <pre>mktemp -s .html</pre> then?</blockquote> File extension in the template would mean deviating from current implementations and no longer being an interface to <tt>mkstemp()</tt> & <tt>mkdtemp()</tt> as they require the six X's to be the last characters: <blockquote>The application shall ensure that the string provided in template is a pathname ending with at least six trailing 'X' characters.</blockquote><cite>From mkdtemp(), mkostemp(), mkstemp() specification in issue 8 / POSIX.1-2024</cite> Also out of curiosity, which implementation has <tt>-s</tt>? Closest seems to be GNU coreutils with <tt>--suffix</tt>, but then it seems quite alone in that as [NetBSD, OpenBSD, FreeBSD, illumos, busybox, sbase] doesn't have <tt>-s<tt> or an equivalent. Issue History Date Modified Username Field Change ====================================================================== 2022-11-08 23:03 illiliti New Issue 2022-11-08 23:03 illiliti Name => Mark Lundblad 2022-11-08 23:03 illiliti Section => Shell and Utilities 2022-11-08 23:03 illiliti Page Number => - 2022-11-08 23:03 illiliti Line Number => - 2022-11-08 23:30 steffen Note Added: 0006038 2022-11-09 13:18 illiliti Note Added: 0006041 2023-02-22 13:30 ormaaj Note Added: 0006166 2023-02-22 19:10 ormaaj Note Edited: 0006166 2025-02-28 18:37 eblake Note Added: 0007089 2025-03-06 11:09 geoffclare Note Added: 0007093 2025-03-06 11:10 geoffclare Note Edited: 0007093 2025-03-06 11:10 geoffclare Note Edited: 0007093 2025-03-06 11:11 geoffclare Note Edited: 0007093 2025-03-06 15:15 eblake Note Edited: 0007093 2025-03-06 15:53 geoffclare Note Edited: 0007093 2025-03-06 17:19 stephane Note Added: 0007095 2025-03-06 18:02 lanodan Note Added: 0007097 ======================================================================
