bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils: mktemp(1) man page doesn't say what a template is


From: Eric Blake
Subject: Re: coreutils: mktemp(1) man page doesn't say what a template is
Date: Thu, 05 Nov 2009 07:36:17 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The latest coreutils.git now states:

$ mktemp --help | head -n4
Usage: src/mktemp [OPTION]... [TEMPLATE]
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 --tmpdir is implied.

and you can now do suffixes:

$ mktemp -u XXXXXXXXXXXXXXXXX.pdf
abAdqJ3pa1GbyWxTd.pdf

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkry4uEACgkQ84KuGfSFAYAyHQCgyU2PTn42MCLPxFlWN2uBaBLU
s2sAnRta+cSVBN5DlbsaWEk8P5HEOlM5
=R5Ax
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]