mktemp: refresh page (#7549)

This commit is contained in:
Emily Grace Seville
2022-01-26 15:22:54 -08:00
committed by GitHub
parent 6678cc9c04
commit 545c425e18

View File

@@ -3,14 +3,14 @@
> Create a temporary file or directory. > Create a temporary file or directory.
> More information: <https://www.gnu.org/software/autogen/mktemp.html>. > More information: <https://www.gnu.org/software/autogen/mktemp.html>.
- Create an empty temporary file and return the absolute path to it: - Create an empty temporary file and print the absolute path to it:
`mktemp` `mktemp`
- Create a temporary directory and return the absolute path to it: - Create an empty temporary file with a given suffix and print the absolute path to file:
`mktemp --suffix "{{.ext}}"`
- Create a temporary directory and print the absolute path to it (non-portable long option: --directory):
`mktemp -d` `mktemp -d`
- Create a temporary file with a specified suffix:
`mktemp --suffix "{{.txt}}"`