coreutils

General Software Utilities
git clone http://git.omkov.net/coreutils
Log | Tree | Refs | README | LICENCE | Download

coreutils/man/env.1 (55 lines, 1.3 KiB) -rw-r--r-- file download

e2140ec Jamozed 2022-03-06 15:27:45
0
.TH ENV 1 2022-03-06 "OMKOV coreutils" "General Commands Manual"
e2c696c Jamozed 2020-06-27 01:05:32
1
.SH NAME
e2c696c Jamozed 2020-06-27 01:05:32
2
env \(em execute with an altered enviroment
e2c696c Jamozed 2020-06-27 01:05:32
3
.SH SYNOPSYS
e2c696c Jamozed 2020-06-27 01:05:32
4
\fBenv\fR [-i] [\fIname\fR=\fIvalue\fR]... [\fIcommand\fR [\fIargument\fR...]]
e2c696c Jamozed 2020-06-27 01:05:32
5
.SH DESCRIPTION
e2c696c Jamozed 2020-06-27 01:05:32
6
Execute \fIcommand\fR with in an enviroment altered with the specified
e2c696c Jamozed 2020-06-27 01:05:32
7
\fIname\fR=\fIvalue\fR pairs. If no \fIcommand\fR is given, the enviroment will
e2c696c Jamozed 2020-06-27 01:05:32
8
be output with one variable per line.
e2c696c Jamozed 2020-06-27 01:05:32
9
.SH OPTIONS
e2c696c Jamozed 2020-06-27 01:05:32
10
The following options are supported:
e2c696c Jamozed 2020-06-27 01:05:32
11
.TP
e2c696c Jamozed 2020-06-27 01:05:32
12
.B -i
e2c696c Jamozed 2020-06-27 01:05:32
13
Ignore inherited enviroment.
e2c696c Jamozed 2020-06-27 01:05:32
14
.TP
e2c696c Jamozed 2020-06-27 01:05:32
15
.B --help
e2c696c Jamozed 2020-06-27 01:05:32
16
Display help information.
e2c696c Jamozed 2020-06-27 01:05:32
17
.TP
e2c696c Jamozed 2020-06-27 01:05:32
18
.B --version
e2c696c Jamozed 2020-06-27 01:05:32
19
Display version information.
e2c696c Jamozed 2020-06-27 01:05:32
20
.SH OPERANDS
e2c696c Jamozed 2020-06-27 01:05:32
21
The following operands are supported:
e2c696c Jamozed 2020-06-27 01:05:32
22
.TP
e2c696c Jamozed 2020-06-27 01:05:32
23
.I name\fR=\fIvalue
e2c696c Jamozed 2020-06-27 01:05:32
24
A variable to be added to the execution enviroment.
e2c696c Jamozed 2020-06-27 01:05:32
25
.TP
e2c696c Jamozed 2020-06-27 01:05:32
26
.I command
e2c696c Jamozed 2020-06-27 01:05:32
27
A command to execute with the altered enviroment.
e2c696c Jamozed 2020-06-27 01:05:32
28
.TP
e2c696c Jamozed 2020-06-27 01:05:32
29
.I argument
e2c696c Jamozed 2020-06-27 01:05:32
30
An argument to pass to \fIcommand\fR.
e2c696c Jamozed 2020-06-27 01:05:32
31
.SH EXIT STATUS
e2c696c Jamozed 2020-06-27 01:05:32
32
Upon successful completion, the exit status of env shall be the exit status of
e2c696c Jamozed 2020-06-27 01:05:32
33
\fIcommand\fR. Otherwise, the following exit values will be returned:
e2c696c Jamozed 2020-06-27 01:05:32
34
.TP
e2c696c Jamozed 2020-06-27 01:05:32
35
\ \ \ \ 0
e2c696c Jamozed 2020-06-27 01:05:32
36
Successful completion.
e2c696c Jamozed 2020-06-27 01:05:32
37
.TP
e2c696c Jamozed 2020-06-27 01:05:32
38
1-125
e2c696c Jamozed 2020-06-27 01:05:32
39
An error occurred.
e2c696c Jamozed 2020-06-27 01:05:32
40
.TP
e2c696c Jamozed 2020-06-27 01:05:32
41
\ \ 126
e2c696c Jamozed 2020-06-27 01:05:32
42
\fIcommand\fR was found but could not be invoked.
e2c696c Jamozed 2020-06-27 01:05:32
43
.TP
e2c696c Jamozed 2020-06-27 01:05:32
44
\ \ 127
e2c696c Jamozed 2020-06-27 01:05:32
45
\fIcommand\fR was not found.
e2c696c Jamozed 2020-06-27 01:05:32
46
.SH STANDARDS
e2c696c Jamozed 2020-06-27 01:05:32
47
The \fIenv\fR utility is compliant with the IEEE Std 1003.2-1992 ("POSIX.2")
e2c696c Jamozed 2020-06-27 01:05:32
48
specification.
e2c696c Jamozed 2020-06-27 01:05:32
49
.SH COPYRIGHT
e2c696c Jamozed 2020-06-27 01:05:32
50
.nf
e2c696c Jamozed 2020-06-27 01:05:32
51
Copyright (C) 2020, Jakob Wakeling
e2140ec Jamozed 2022-03-06 15:27:45
52
MIT Licence (https://opensource.org/licenses/MIT)
e2c696c Jamozed 2020-06-27 01:05:32
53
.fi
54