summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2014-06-30 10:15:26 +0100
committerPádraig Brady <P@draigBrady.com>2014-06-30 10:27:48 +0100
commit3e89d5bb9b34861c17cd23f5efd8323eec4f0bab (patch)
treeeba49317d57cc4c42db3e3bf2aa96102b37de23c /doc
parentacb422bdd1b325285bb46883f02d8fc6402efd14 (diff)
downloadcoreutils-3e89d5bb9b34861c17cd23f5efd8323eec4f0bab.tar.xz
pwd: assume -L mode by default, as per POSIX
* src/pwd.c (main): Adjust default mode to be "logical" and independent of the POSIXLY_CORRECT env var. (usage): Mention the default mode of operation. * doc/coreutils.texi (pwd invocation): Adjust accordingly. * tests/misc/pwd-option.sh: Likewise. * NEWS: Mention the change in behavior.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 96220c350..d0c8ea8d5 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -13738,8 +13738,7 @@ will be symbolic links.
@cindex symbolic links and @command{pwd}
If @option{-L} and @option{-P} are both given, the last one takes
precedence. If neither option is given, then this implementation uses
-@option{-P} as the default unless the @env{POSIXLY_CORRECT}
-environment variable is set.
+@option{-L} as the default.
@mayConflictWithShellBuiltIn{pwd}