MFC r271936: sh(1): Clarify that assignments before commands do not affect

expansions.

PR:		193759
This commit is contained in:
jilles 2015-01-04 18:58:51 +00:00
parent 315194d815
commit 973fc27d21

View File

@ -32,7 +32,7 @@
.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95 .\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd January 26, 2014 .Dd September 21, 2014
.Dt SH 1 .Dt SH 1
.Os .Os
.Sh NAME .Sh NAME
@ -584,7 +584,8 @@ the following actions:
Leading words of the form Leading words of the form
.Dq Li name=value .Dq Li name=value
are stripped off and assigned to the environment of are stripped off and assigned to the environment of
the simple command. the simple command
(they do not affect expansions).
Redirection operators and Redirection operators and
their arguments (as described below) are stripped their arguments (as described below) are stripped
off and saved for processing. off and saved for processing.