environ.7: Describe the Bourne "NAME=value command" syntax

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-02-17 12:26:26 +01:00
parent 789fdd93bb
commit 170eb74156
1 changed files with 11 additions and 1 deletions

View File

@ -129,7 +129,7 @@ The user's preferred utility to edit text files.
.\" The user's preferred utility to browse URLs. Sequence of colon-separated
.\" browser commands. See http://www.catb.org/~esr/BROWSER/ .
.PP
Further names may be placed in the shell's environment by the
Names may be placed in the shell's environment by the
.I export
command in
.BR sh (1),
@ -138,6 +138,16 @@ or by the
command if you use
.BR csh (1).
Bourne-style shells support the syntax
NAME=value command
to create an environment variable definition only in the scope
of the process that executes
.IR command .
Multiple variable definitions, separated by white space, may precede
.IR command .
Arguments may also be placed in the
environment at the point of an
.BR exec (3).