summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-08-09 10:59:20 +0000
committerru <ru@FreeBSD.org>2002-08-09 10:59:20 +0000
commite185ee0111b1ebdd0d21de40e29b81a830a8ec1a (patch)
tree95d98fdc6be2726c395213c2af205d3c52c32cbe /bin
parent9c0fb519a72897e3ed4fac67cdab11c744cc05c8 (diff)
downloadFreeBSD-src-e185ee0111b1ebdd0d21de40e29b81a830a8ec1a.zip
FreeBSD-src-e185ee0111b1ebdd0d21de40e29b81a830a8ec1a.tar.gz
mdoc(7) police: tidying.
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/sh.145
1 files changed, 9 insertions, 36 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
index 0bfd9b6..efb256e 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -1280,7 +1280,7 @@ builtin command prints the names and values of all defined aliases
(see
.Ic unalias ) .
Alias values are written with appropriate quoting so that they are
-suitable for reinput to the shell.
+suitable for re-input to the shell.
.It Ic bg Op Ar job ...
Continue the specified jobs
(or the current job if no jobs are given)
@@ -1305,7 +1305,7 @@ is specified.
If
.Ar directory
does not begin with
-.Pa / , . ,
+.Pa / , \&. ,
or
.Pa .. ,
then the directories listed in the
@@ -1347,14 +1347,7 @@ This is the default.
A synonym for the
.Ic cd
builtin command.
-.It Xo
-.Ic command
-.Op Fl p
-.Oo
-.Ar utility
-.Op Ar argument ...
-.Oc
-.Xc
+.It Ic command Oo Fl p Oc Op Ar utility Op Ar argument ...
Execute the specified
.Ar utility
as a simple command (see the
@@ -1367,11 +1360,7 @@ option is specified, the command search is performed using a
default value of
.Ev PATH
that is guaranteed to find all of the standard utilities.
-.It Xo
-.Ic echo
-.Op Fl e | Fl n
-.Op Ar string
-.Xc
+.It Ic echo Oo Fl e | n Oc Op Ar string
Print
.Ar string
to the standard output with a newline appended.
@@ -1453,11 +1442,7 @@ If
is given
it is used as the exit status of the shell;
otherwise the exit status of the preceding command is used.
-.It Xo
-.Ic export
-.Op Fl p
-.Op Ar name ...
-.Xc
+.It Ic export Oo Fl p Oc Op Ar name ...
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
@@ -1628,11 +1613,7 @@ Print the process id's of the processes in the specified
If the
.Ar job
argument is omitted, use the current job.
-.It Xo
-.Ic jobs
-.Op Fl ls
-.Op Ar job ...
-.Xc
+.It Ic jobs Oo Fl ls Oc Op Ar job ...
Print information about the specified jobs, or all jobs if no
.Ar job
argument is given.
@@ -1643,7 +1624,7 @@ If the
option is specified, the PID of each job is also printed.
If the
.Fl s
-option is specified, only the PID's of the jobs are printed, one per line.
+option is specified, only the PIDs of the jobs are printed, one per line.
.It Ic pwd Op Fl LP
Print the path of the current directory. The builtin command may
differ from the program of the same name because the
@@ -1718,11 +1699,7 @@ is assumed.
The
.Fl e
option exists only for backward compatibility with older scripts.
-.It Xo
-.Ic readonly
-.Op Fl p
-.Op Ar name ...
-.Xc
+.It Ic readonly Oo Fl p Oc Op Ar name ...
Each specified
.Ar name
is marked as read only,
@@ -1909,11 +1886,7 @@ is specified, the shell removes that alias.
If
.Fl a
is specified, all aliases are removed.
-.It Xo
-.Ic unset
-.Op Fl fv
-.Ar name ...
-.Xc
+.It Ic unset Oo Fl fv Oc Ar name ...
The specified variables or functions are unset and unexported.
If the
.Fl v
OpenPOWER on IntegriCloud