GNU bug report logs - #7618
doc: mktemp: improve '[deprecated]' notices

Previous Next

Package: coreutils;

Reported by: jidanni <at> jidanni.org

Date: Sun, 12 Dec 2010 01:04:02 UTC

Severity: wishlist

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-coreutils <at> gnu.org
Subject: man mktemp/[deprecated] clarification
Date: Sun, 12 Dec 2010 08:05:51 +0800
man mktemp
       -p DIR use DIR as a prefix; implies -t [deprecated]

       -t     interpret TEMPLATE as a single file name component, relative to a directory: $TMPDIR, if  set;
              else the directory specified via -p; else /tmp [deprecated]

It is not clear what is deprecated, -p, or both. Move [deprecated]
closer to the front of the sentence.

Or add a DEPRECATED OPTIONS section.

Also I know the info page says why, but at

       -u, --dry-run
              do not create anything; merely print a name (unsafe)

the reader thinks 'why, will it grind up my filesystem?'
If --dry-run is unsafe, then I'd hate to try --wet-run.

Say (unsafe to use for ....).




This bug report was last modified 6 years and 229 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.