opnsense-src/usr.bin/env
Dag-Erling Smørgrav a0dfb0668b env: Improve documentation.
* 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.

MFC after:	3 days
Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D46997
2024-10-07 23:01:09 +02:00
..
tests env: Improve documentation. 2024-10-07 23:01:09 +02:00
env.1 env: Improve documentation. 2024-10-07 23:01:09 +02:00
env.c Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
envopts.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
envopts.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile env: Add a handful of test cases. 2024-10-07 23:01:09 +02:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00