Page MenuHomeFreeBSD

env: Improve documentation.
ClosedPublic

Authored by des on Oct 7 2024, 7:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Feb 7, 7:46 PM
Unknown Object (File)
Fri, Jan 31, 9:17 AM
Unknown Object (File)
Wed, Jan 29, 12:56 AM
Unknown Object (File)
Mon, Jan 27, 1:15 AM
Unknown Object (File)
Sat, Jan 18, 11:53 PM
Unknown Object (File)
Sat, Jan 18, 7:40 PM
Unknown Object (File)
Jan 17 2025, 8:46 PM
Unknown Object (File)
Dec 14 2024, 1:08 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