← Back to team overview

registry team mailing list archive

[Bug 589408] Re: mktemp seems to need a prefixed template to work

 

Thank you for opening this bug and helping make Ubuntu better. 'mktemp'
does not need a prefixed template to work, 'mktemp whyXXXX' should work
as well:

cerdea@xango2:~$ /bin/mktemp whyXXXX
whyev0E
cerdea@xango2:~$ /bin/mktemp why.XXXX
why.A972
cerdea@xango2:~$ /bin/mktemp --version
mktemp (GNU coreutils) 7.4
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Jim Meyering.
cerdea@xango2:~$ 

Now, on *newer* coreutils, you would also be able to use a '--suffix'
parameter:

cerdea@xango2:~$ /usr/local/bin/mktemp --suffix=.test whyXXXX
whySAE8.test
cerdea@xango2:~$ /usr/local/bin/mktemp --version
mktemp (GNU coreutils) 8.5.51-c0cfa0
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Jim Meyering and Eric Blake.
cerdea@xango2:~$ 

As such, closing INVALID (not a bug)

** Changed in: coreutils (Ubuntu)
   Importance: Undecided => Low

** Changed in: coreutils (Ubuntu)
       Status: New => Invalid

-- 
mktemp seems to need a prefixed template to work
https://bugs.launchpad.net/bugs/589408
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.



References