diff options
author | Eric Blake <ebb9@byu.net> | 2009-10-27 06:36:40 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-10-27 19:55:35 -0600 |
commit | d6de2f198ef0f59f5210af0bf9bcf42687386a04 (patch) | |
tree | a1c5072f0b9aae40c24263d03e42ef92d81edbc9 /doc/ChangeLog-2007 | |
parent | 1a813420896317aecf5598f76c852195796e534b (diff) | |
download | coreutils-d6de2f198ef0f59f5210af0bf9bcf42687386a04.tar.xz |
env, printenv: add -0/--null option
Allows for unambiguous processing when environment values (or even
non-portable names!) contain newline.
* src/env.c (longopts): Add new option.
(usage): Document it.
(main): Implement it.
* src/printenv.c (longopts): New variable.
(usage): Document new option.
(main): Implement it.
* doc/coreutils.texi (Common options): New macro optNull.
(du invocation, env invocation, printenv invocation): Use it.
* NEWS: Mention this.
* tests/misc/env-null: New test.
* tests/Makefile.am (TESTS): Run it.
Diffstat (limited to 'doc/ChangeLog-2007')
0 files changed, 0 insertions, 0 deletions