Documentation
¶
Overview ¶
Package env implements the env(1) coreutil: run a program in a modified environment, or print the current environment when no command is given.
Argument parsing intentionally does not use getopt because env's grammar is special: NAME=VALUE assignments and the inner command share the positional slot, and the first positional that is neither a flag nor an assignment terminates option parsing. Any subsequent NAME=VALUE-shaped argument is part of the inner command, not an env assignment. getopt/v2 has no way to express that boundary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.