diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2024-10-07 21:00:38 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2024-10-07 21:01:09 +0000 |
commit | a0dfb0668b45506de97beb4c7acbe3fd1ba69fc8 (patch) | |
tree | f8705f9cbde42fc9bbf881163c62a492ee184621 /bin/date/(public-mirror) | |
parent | 334af5e4131b21c658203635bf713d6a59846585 (diff) | |
download | src-a0dfb0668b45506de97beb4c7acbe3fd1ba69fc8.tar.gz src-a0dfb0668b45506de97beb4c7acbe3fd1ba69fc8.zip |
env: Improve documentation.
* The `env` utility's inability to run a command whose name contains an
equal sign is a feature, not a bug, so move that paragraph up from the
BUGS section to the DESCRIPTION section.
* Mention that this can be worked around by prefixing the command name
with `command`, and add an example of this to the EXAMPLE section.
* Add a test case which verifies that `env` does not run a command with
an equal sign in its name even if it exists, and also demonstrates the
workaround.
MFC after: 3 days
Sponsored by: Klara, Inc.
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D46997
Diffstat (limited to 'bin/date/(public-mirror)')
0 files changed, 0 insertions, 0 deletions