Page MenuHomeFreeBSD

env: Improve documentation.
ClosedPublic

Authored by des on Oct 7 2024, 7:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 25, 7:11 AM
Unknown Object (File)
Mon, Nov 3, 6:53 PM
Unknown Object (File)
Mon, Nov 3, 6:52 PM
Unknown Object (File)
Mon, Nov 3, 6:52 PM
Unknown Object (File)
Mon, Nov 3, 6:50 PM
Unknown Object (File)
Oct 28 2025, 12:02 AM
Unknown Object (File)
Oct 27 2025, 3:10 AM
Unknown Object (File)
Oct 24 2025, 7:27 PM
Subscribers

Details

Reviewers
markj
Group Reviewers
Klara
Commits
rGa0dfb0668b45: env: Improve documentation.
Summary
  • 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.

Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable