From 545c425e1829d12676a689eeab5da243192e4447 Mon Sep 17 00:00:00 2001 From: Emily Grace Seville Date: Wed, 26 Jan 2022 15:22:54 -0800 Subject: [PATCH] mktemp: refresh page (#7549) --- pages/common/mktemp.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/common/mktemp.md b/pages/common/mktemp.md index 9fad894fe..2a451da36 100644 --- a/pages/common/mktemp.md +++ b/pages/common/mktemp.md @@ -3,14 +3,14 @@ > Create a temporary file or directory. > More information: . -- 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` -- 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` - -- Create a temporary file with a specified suffix: - -`mktemp --suffix "{{.txt}}"`