env - run a command with a modified environment, or print the environment.
env [--] [name=value ...] [command [argument ...]]
env is a POSIX regular builtin provided by Rush. It runs a command with the exported shell environment plus the given assignments. Without a command, it prints that environment. -- ends option parsing.
This page summarizes the builtin in Rush documentation. POSIX is the normative reference for detailed portable behavior.
See the POSIX definition for command-specific status rules. Usage errors generally return a non-zero status.
rush-builtins(7), POSIX Shell Command Language.