aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2005-09-09 21:06:03 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2005-09-09 21:06:03 +0000
commitef9791a3cce5f6338c0a3662454d1e3caa89f0e7 (patch)
tree87a3b6be45e87019502ec13f944409c3f74d2486 /bin
parent3fda45eca83d7ab85f1fcc3234037367b7b3a9b4 (diff)
downloadsrc-ef9791a3cce5f6338c0a3662454d1e3caa89f0e7.tar.gz
src-ef9791a3cce5f6338c0a3662454d1e3caa89f0e7.zip
Split the export synopsis into two lines as -p cannot be mixed with variable
names.
Notes
Notes: svn path=/head/; revision=149920
Diffstat (limited to 'bin')
-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 232e8222fe40..004ee1f98556 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 3, 2005
+.Dd September 9, 2005
.Dt SH 1
.Os
.Sh NAME
@@ -1552,7 +1552,8 @@ If
is given
it is used as the exit status of the shell;
otherwise the exit status of the preceding command is used.
-.It Ic export Oo Fl p Oc Op Ar name ...
+.It Ic export Ar name ...
+.It Ic export Op Fl p
The specified names are exported so that they will
appear in the environment of subsequent commands.
The only way to un-export a variable is to