summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-09-09 21:06:03 +0000
committerstefanf <stefanf@FreeBSD.org>2005-09-09 21:06:03 +0000
commit14d2a8a99c7cb2cc6c8bb4c4420b933ba4c823fa (patch)
tree87a3b6be45e87019502ec13f944409c3f74d2486 /bin
parent6a55d3e0eb1c89a62971ff51f945ebc5a7902200 (diff)
downloadFreeBSD-src-14d2a8a99c7cb2cc6c8bb4c4420b933ba4c823fa.zip
FreeBSD-src-14d2a8a99c7cb2cc6c8bb4c4420b933ba4c823fa.tar.gz
Split the export synopsis into two lines as -p cannot be mixed with variable
names.
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 232e822..004ee1f 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
OpenPOWER on IntegriCloud