diff options
author | Eric Blake <ebb9@byu.net> | 2009-03-23 14:48:19 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-03-25 06:33:32 -0600 |
commit | 9b4aa5e268da5980f63a1c47c2cd7ba04ad4a394 (patch) | |
tree | 2b8b6e75d23599bd87a601fc8117284e94cf3f20 /NEWS | |
parent | 53191d01e23d05f42d0d90abe07b18aae7c50b3a (diff) | |
download | coreutils-9b4aa5e268da5980f63a1c47c2cd7ba04ad4a394.tar.xz |
pwd: support -L and -P
* src/pwd.c (longopts): New variable.
(logical_getcwd): New function.
(main): Use it.
(usage): Document new options.
* doc/coreutils.texi (pwd invocation): Likewise.
* NEWS: Likewise.
* TODO (pwd): Mark it done.
* tests/misc/pwd-option: New file.
* tests/Makefile.am (TESTS): Add test.
* THANKS: Update.
Reported by Paul D. Smith, in savannah bug 24949.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2,6 +2,12 @@ GNU coreutils NEWS -*- outline -*- * Noteworthy changes in release ?.? (????-??-??) [?] +** New features + + pwd now accepts the options --logical (-L) and --physical (-P). For + compatibility with existing scripts, -P is the default behavior + unless POSIXLY_CORRECT is requested. + ** Bug fixes cat once again immediately outputs data it has processed. |