From 170eb741562d6feb44b03a251f3f9072e4e2c650 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 17 Feb 2016 12:26:26 +0100 Subject: [PATCH] environ.7: Describe the Bourne "NAME=value command" syntax Signed-off-by: Michael Kerrisk --- man7/environ.7 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/man7/environ.7 b/man7/environ.7 index cf06a562e..45f78da60 100644 --- a/man7/environ.7 +++ b/man7/environ.7 @@ -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).