Page MenuHomeFreeBSD

env: Improve documentation.
ClosedPublic

Authored by des on Oct 7 2024, 7:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 2, 6:36 AM
Unknown Object (File)
Thu, May 29, 11:26 PM
Unknown Object (File)
Wed, May 28, 9:22 AM
Unknown Object (File)
Sun, May 25, 7:18 AM
Unknown Object (File)
Tue, May 13, 3:24 AM
Unknown Object (File)
Mon, May 12, 5:46 PM
Unknown Object (File)
Apr 29 2025, 11:12 AM
Unknown Object (File)
Apr 29 2025, 12:51 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 59822
Build 56707: arc lint + arc unit