rust-env(1)

rust-env1

Set each name to value in the environment and run command

Usage

uu_env [{-i | --ignore-environment}] [{-C | --chdir}] [{-0 | --null}] [{-f | --file}] [{-u | --unset}] [{-v | --debug}] ... [{-S | --split-string}] [{-a | --argv0}] [--ignore-signal] [{-h | --help}] [{-V | --version}] [vars]

Overview

Set each NAME to VALUE in the environment and run COMMAND

Options

-i, --ignore-environment

start with an empty environment

-C, --chdir=DIR

change working directory to DIR

-0, --null

end each output line with a 0 byte rather than a newline (only valid when printing the environment)

-f, --file=PATH

read and set variables from a ".env"-style configuration file (prior to any unset and/or set)

-u, --unset=NAME

remove variable from the environment

-v, --debug

print verbose information for each processing step

-S, --split-string=S

process and split S into separate arguments; used to pass multiple arguments on shebang lines

-a, --argv0=a

Override the zeroth argument passed to the command being executed. Without this option a default value of `command` is used.

--ignore-signal=SIG

set handling of SIG signal(s) to do nothing

-h, --help

Print help

-V, --version

Print version

[vars]

Extra

A mere - implies -i. If no COMMAND, print the resulting environment.

Version

v0.0.30

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

--argv0 since Debian 13 (Trixie); --file since Debian 13 (Trixie); -V since Debian 13 (Trixie); -a since Debian 13 (Trixie); -f since Debian 13 (Trixie); -h since Debian 13 (Trixie).

--block-signal until Debian 12 (Bookworm); --default-signal until Debian 12 (Bookworm); --list-signal-handling until Debian 12 (Bookworm).

From rust-coreutils 0.0.30-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.