.TH ENV 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" .SH NAME env \(em execute with an altered enviroment .SH SYNOPSYS \fBenv\fR [-i] [\fIname\fR=\fIvalue\fR]... [\fIcommand\fR [\fIargument\fR...]] .SH DESCRIPTION Execute \fIcommand\fR with in an enviroment altered with the specified \fIname\fR=\fIvalue\fR pairs. If no \fIcommand\fR is given, the enviroment will be output with one variable per line. .SH OPTIONS The following options are supported: .TP .B -i Ignore inherited enviroment. .TP .B --help Display help information. .TP .B --version Display version information. .SH OPERANDS The following operands are supported: .TP .I name\fR=\fIvalue A variable to be added to the execution enviroment. .TP .I command A command to execute with the altered enviroment. .TP .I argument An argument to pass to \fIcommand\fR. .SH EXIT STATUS Upon successful completion, the exit status of env shall be the exit status of \fIcommand\fR. Otherwise, the following exit values will be returned: .TP \ \ \ \ 0 Successful completion. .TP 1-125 An error occurred. .TP \ \ 126 \fIcommand\fR was found but could not be invoked. .TP \ \ 127 \fIcommand\fR was not found. .SH STANDARDS The \fIenv\fR utility is compliant with the IEEE Std 1003.2-1992 ("POSIX.2") specification. .SH COPYRIGHT .nf Copyright (C) 2020, Jakob Wakeling MIT Licence (https://opensource.org/licenses/MIT) .fi