aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2014-09-21 20:34:54 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2014-09-21 20:34:54 +0000
commit000dda7b47cba82af7fa1144d2c8c5bcd1625ec9 (patch)
tree37842c6b813b5aa1eb9c230ee745b19a53ef53dd
parent137a165dd35d023117cca094fca857d17b022fe8 (diff)
downloadsrc-000dda7b47cba82af7fa1144d2c8c5bcd1625ec9.tar.gz
src-000dda7b47cba82af7fa1144d2c8c5bcd1625ec9.zip
sh(1): Clarify that assignments before commands do not affect expansions.
PR: 193759 MFC after: 1 week
Notes
Notes: svn path=/head/; revision=271936
-rw-r--r--bin/sh/sh.15
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
index 4679d455ec50..47b1b36c59f1 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -32,7 +32,7 @@
.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
.\" $FreeBSD$
.\"
-.Dd September 4, 2014
+.Dd September 21, 2014
.Dt SH 1
.Os
.Sh NAME
@@ -590,7 +590,8 @@ the following actions:
Leading words of the form
.Dq Li name=value
are stripped off and assigned to the environment of
-the simple command.
+the simple command
+(they do not affect expansions).
Redirection operators and
their arguments (as described below) are stripped
off and saved for processing.