Package: coreutils
Version: 8.21-1
Followup-For: Bug #518796

Ok, after a bit more thinking, I'm not sure I understand the
--suffix=SUFF option correctly.

First, mktemp(1) says in the description that “TEMPLATE must contain at
least 3 consecutive 'X's in last component.” MUST, so --suffix=XXX is
not a valid use.

What “--suffix=SUFF append  SUFF  to  TEMPLATE.   SUFF must not contain
slash.  This option is implied if TEMPLATE does not end in X.” might
mean is therefore that `mktemp test.XXX.a` will be interpreted the same
a `mktemp test.XXX --suffix .a`. This is consistent with the current
behaviour:

  $ mktemp test.XXX.a
  test.sAE.a
  $ mktemp test.XXX --suffix .a
  test.kYK.a

I don't think this bug can be confirmed anymore, but the documentation
should be clarified. Probably an upstream task again.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to