From 3e89d5bb9b34861c17cd23f5efd8323eec4f0bab Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Mon, 30 Jun 2014 10:15:26 +0100 Subject: 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. --- NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 4e90b793b..a72d3bd4a 100644 --- a/NEWS +++ b/NEWS @@ -117,6 +117,9 @@ GNU coreutils NEWS -*- outline -*- will now honor an empty or unknown TERM environment variable, and not output colors even with --colors=always. + pwd now conforms to POSIX and common practice with shell builtins + to assume -L by default, outputting $PWD from the environment if appropriate. + ** Improvements chroot has better --userspec and --group look-ups, with numeric IDs never -- cgit v1.2.3-70-g09d2