summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-06-15 21:56:15 +0000
committerJim Meyering <jim@meyering.net>2004-06-15 21:56:15 +0000
commit75e49a2b1735851dae580b466928fe797ee7440f (patch)
tree76e5ebc304124c237425d05f7ec28ffd9e80ae2b /doc/coreutils.texi
parent1f3a9c7888be4ef2df0ff9683dddbfb5655e7e78 (diff)
downloadcoreutils-75e49a2b1735851dae580b466928fe797ee7440f.tar.xz
Remove special cases for POSIXLY_CORRECT when POSIX allows the GNU behavior.
(pr invocation, unlink invocation): Document this.
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi16
1 files changed, 7 insertions, 9 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 8612c2b14..a09321503 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -1952,10 +1952,11 @@ e.g., @option{--date-format="Monday morning"}.
@vindex POSIXLY_CORRECT
@vindex LC_TIME
-If the @env{POSIXLY_CORRECT} environment variable is not set, the date
+Normally the date
format defaults to @samp{%Y-%m-%d %H:%M} (for example, @samp{2001-12-04
-23:59}); otherwise, the format depends on the @env{LC_TIME} locale
-category, with the default being @samp{%b %e %H:%M %Y} (for example,
+23:59}); but if the @env{POSIXLY_CORRECT} environment variable is set
+and the @env{LC_TIME} locale category specifies the @acronym{POSIX}
+locale, the default is @samp{%b %e %H:%M %Y} (for example,
@samp{Dec@ @ 4 23:59 2001}.
@item -e[@var{in-tabchar}[@var{in-tabwidth}]]
@@ -7768,12 +7769,9 @@ On some systems @code{unlink} can be used to delete the name of a
directory. On others, it can be used that way only by a privileged user.
In the GNU system @code{unlink} can never delete the name of a directory.
-@vindex POSIXLY_CORRECT
-By default, @command{unlink} honors the @option{--help} and @option{--version}
-options. That makes it a little harder to remove files named
-@option{--help} and @option{--version}, so when the environment variable
-@env{POSIXLY_CORRECT} is set, @command{unlink} treats such a command line
-arguments not as an option, but as an operand.
+The @command{unlink} command honors the @option{--help} and
+@option{--version} options. To remove a file whose name begins with
+@samp{-}, prefix the name with @samp{./}, e.g., @samp{unlink ./--help}.
@exitstatus