summaryrefslogtreecommitdiffstats
path: root/bin/sh
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2015-01-04 18:58:51 +0000
committerjilles <jilles@FreeBSD.org>2015-01-04 18:58:51 +0000
commit973fc27d21a7d89c2b4b12f555af29334ce22836 (patch)
tree725383c7de68b259ceafe015f0ce3f945483d9ed /bin/sh
parent315194d815d378dda644b25d89b98f5e3579b530 (diff)
downloadFreeBSD-src-973fc27d21a7d89c2b4b12f555af29334ce22836.zip
FreeBSD-src-973fc27d21a7d89c2b4b12f555af29334ce22836.tar.gz
MFC r271936: sh(1): Clarify that assignments before commands do not affect
expansions. PR: 193759
Diffstat (limited to 'bin/sh')
-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 b5916a8..e970e7d 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 January 26, 2014
+.Dd September 21, 2014
.Dt SH 1
.Os
.Sh NAME
@@ -584,7 +584,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.
OpenPOWER on IntegriCloud