Run a program in a modified environment or print the environment.

Synopsis

env [NAME=VALUE]... [COMMAND [ARGS]]

Description

If no COMMAND is given, print the current environment variables. Otherwise, run COMMAND with modified environment. Runs in the just-bash WASM shell inside SLICC.

Examples

$ env

Print all environment variables.

$ env FOO=bar echo "test"

Run echo with FOO set to bar.

See Also

export, set, unset