Page MenuHomeFreeBSD

env: Improve documentation.
ClosedPublic

Authored by des on Oct 7 2024, 7:44 PM.
Tags
None
Referenced Files
F102054973: D46997.id144443.diff
Thu, Nov 7, 1:33 AM
Unknown Object (File)
Mon, Nov 4, 12:14 PM
Unknown Object (File)
Fri, Nov 1, 1:25 PM
Unknown Object (File)
Mon, Oct 21, 11:26 AM
Unknown Object (File)
Sun, Oct 20, 5:46 PM
Unknown Object (File)
Tue, Oct 15, 6:30 AM
Unknown Object (File)
Sun, Oct 13, 10:30 AM
Unknown Object (File)
Sun, Oct 13, 10:30 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 Not Applicable
Unit
Tests Not Applicable