Module Name: src Committed By: kamil Date: Sat Feb 8 10:30:22 UTC 2020
Modified Files: src/usr.bin/env: env.1 env.c Log Message: Implement env(1) -u The option '-u name' causes removal of the name environment variable if it is in the environment. This is similar to the unset command in sh(1). The value for name must not include the '=' character. Add HISTORY section in the man page. The -u argument is implemented by Linux, FreeBSD and Darwin. The lack of -u in NetBSD is a cause for a frequent fallout in the LLVM toolchain test-suite. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.bin/env/env.1 cvs rdiff -u -r1.20 -r1.21 src/usr.bin/env/env.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.