diff options
| author | Soccera1 <[email protected]> | 2026-07-28 16:08:14 +1000 |
|---|---|---|
| committer | Soccera1 <[email protected]> | 2026-07-28 16:08:48 +1000 |
| commit | 9846f087eb28bf11df740675ef487657ded39b69 (patch) | |
| tree | e91dbd19b524f9432da6bcb86b1fc193e0d02e26 /man/mktemp.1 | |
| parent | 7fa396c9ef22b32a0b05e94aaa0266dd3e7515f8 (diff) | |
| parent | 6a2f098e72e71437154ec00506e8e736aa8e1026 (diff) | |
| download | bnu-refactor/single-call-commands.tar.gz bnu-refactor/single-call-commands.zip | |
Merge branch 'master' into refactor/single-call-commandsrefactor/single-call-commands
# Conflicts:
# README.md
Diffstat (limited to 'man/mktemp.1')
| -rw-r--r-- | man/mktemp.1 | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/man/mktemp.1 b/man/mktemp.1 new file mode 100644 index 0000000..ef3c504 --- /dev/null +++ b/man/mktemp.1 @@ -0,0 +1,71 @@ +.\" Adapted for BNU from the GNU Coreutils 9.11 manual page; see doc/README.md. +.TH MKTEMP "1" "2026-07-28" "BNU 9.11" "BNU Commands" +.SH NAME +mktemp \- create a temporary file or directory +.SH SYNOPSIS +.B mktemp +[\fI\,OPTION\/\fR]... [\fI\,TEMPLATE\/\fR] +.SH DESCRIPTION +.\" This page is derived from GNU Coreutils documentation. +This page documents BNU, an independent Bun implementation compatible with +GNU Coreutils 9.11. +.PP +Create a temporary file or directory, safely, and print its name. +TEMPLATE must contain at least 3 consecutive 'X's in last component. +If TEMPLATE is not specified, use tmp.XXXXXXXXXX, and \fB\-\-tmpdir\fR is implied. +Files are created u+rw, and directories u+rwx, minus umask restrictions. +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#mktemp-d'\fB\-d, \-\-directory\fP\X'tty: link' +create a directory, not a file +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#mktemp-u'\fB\-u, \-\-dry\-run\fP\X'tty: link' +do not create anything; merely print a name (unsafe) +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#mktemp-q'\fB\-q, \-\-quiet\fP\X'tty: link' +suppress diagnostics about file/dir\-creation failure +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#mktemp--suffix'\fB\-\-suffix=SUFF\fP\X'tty: link' +append SUFF to TEMPLATE; SUFF must not contain a slash. +This option is implied if TEMPLATE does not end in X +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#mktemp-p'\fB\-p DIR, \-\-tmpdir[=\,DIR]\fP\X'tty: link'\/\fR +interpret TEMPLATE relative to DIR; +if DIR is not specified, use $TMPDIR if set, else \fI\,/tmp\/\fP. +With this option, TEMPLATE must not be an absolute name; +unlike with \fB\-t\fR, TEMPLATE may contain slashes, +but mktemp creates only the final component +.TP +\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#mktemp-t'\fB\-t\fP\X'tty: link' +interpret TEMPLATE as a single file name component, +relative to a directory: $TMPDIR, if set; +else the directory specified via \fB\-p\fR; else \fI\,/tmp\/\fP [deprecated] +.TP +\X'tty: link https://www.gnu.org/software/coreutils/mktemp#mktemp--help'\fB\-\-help\fP\X'tty: link' +display this help and exit +.TP +\X'tty: link https://www.gnu.org/software/coreutils/mktemp#mktemp--version'\fB\-\-version\fP\X'tty: link' +output version information and exit +.SH AUTHORS +Upstream GNU Coreutils documentation authors: +Written by Jim Meyering and Eric Blake. +.br +Adapted for BNU; the BNU implementation is independent. +.SH "REPORTING BUGS" +Report BNU bugs at <https://github.com/Soccera1/bnu/issues>. +.br +For upstream GNU Coreutils, see <https://www.gnu.org/software/coreutils/>. +.SH COPYRIGHT +Copyright \(co 2026 Free Software Foundation, Inc. +.br +This manual page was adapted for BNU in 2026. +License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. +.br +This is free software: you are free to change and redistribute it. +There is NO WARRANTY, to the extent permitted by law. +.SH "SEE ALSO" +\fBmkstemp\fP(3), \fBmkdtemp\fP(3), \fBmktemp\fP(3) +.PP +.br +Upstream documentation <https://www.gnu.org/software/coreutils/mktemp> +.br +BNU documentation is available locally via: info \(aq(bnu) mktemp invocation\(aq |
