Page MenuHomeFreeBSD

env: Improve documentation.
ClosedPublic

Authored by des on Oct 7 2024, 7:44 PM.
Tags
None
Referenced Files
F132118779: D46997.diff
Mon, Oct 13, 9:47 PM
Unknown Object (File)
Thu, Oct 9, 9:48 PM
Unknown Object (File)
Thu, Oct 9, 7:15 AM
Unknown Object (File)
Fri, Oct 3, 3:25 AM
Unknown Object (File)
Mon, Sep 29, 7:06 AM
Unknown Object (File)
Thu, Sep 18, 3:14 AM
Unknown Object (File)
Sep 10 2025, 5:20 AM
Unknown Object (File)
Sep 8 2025, 7:35 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