summaryrefslogtreecommitdiffstats
path: root/bin/sh
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-11-17 12:15:23 +0000
committerru <ru@FreeBSD.org>2005-11-17 12:15:23 +0000
commit6bbac1a76d07220e73c03b6a006d761ab086c561 (patch)
tree2e359cc7be0c6354653b377c5a2bd4f08a3e26bc /bin/sh
parent72ee7cf7039d340322d8416243e31aa0bdef25c7 (diff)
downloadFreeBSD-src-6bbac1a76d07220e73c03b6a006d761ab086c561.zip
FreeBSD-src-6bbac1a76d07220e73c03b6a006d761ab086c561.tar.gz
-mdoc sweep.
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/sh.130
1 files changed, 14 insertions, 16 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
index 5e792d4..6fe7795 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -209,7 +209,11 @@ option if it has been set).
Exit immediately if any untested command fails in non-interactive mode.
The exit status of a command is considered to be
explicitly tested if the command is part of the list used to control
-an if, elif, while, or until; if the command is the left
+an
+.Ic if , elif , while ,
+or
+.Ic until ;
+if the command is the left
hand operand of an
.Dq Li &&
or
@@ -431,7 +435,7 @@ This use is discouraged.
.Pp
An alias name may be escaped in a command line, so that it is not
replaced by its alias value, by using quoting characters within or
-adjacent to the alias name.
+adjacent to the alias name.
This is most often done by prefixing
an alias name with a backslash to execute a function, built-in, or
normal program with the same name.
@@ -893,7 +897,7 @@ and the syntax is:
.Bd -ragged -offset indent
.Ic local
.Op Ar variable ...
-.Op Ar -
+.Op Fl
.Ed
.Pp
The
@@ -1478,7 +1482,7 @@ that is guaranteed to find all of the standard utilities.
.Pp
If the
.Fl v
-option is specified,
+option is specified,
.Ar utility
is not executed but a description of its interpretation by the shell is
printed.
@@ -1497,20 +1501,14 @@ It prints
where
.Ar description
is either
-.Bl -item -offset indent
-.It
the path name to
.Ar utility ,
-.It
-.Ic a shell builtin ,
-.It
-.Ic a shell function ,
-.It
-.Ic a shell keyword
+a shell builtin,
+a shell function,
+a shell keyword
or
-.It
-.Ic an alias for Ar value .
-.El
+an alias for
+. Ar value .
.It Ic echo Oo Fl e | n Oc Op Ar string
Print
.Ar string
@@ -1780,7 +1778,7 @@ option is specified, the PID of each job is also printed.
If the
.Fl s
option is specified, only the PIDs of the jobs are printed, one per line.
-.It Ic local Oo Ar variable ... Oc Op Ar -
+.It Ic local Oo Ar variable ... Oc Op Fl
See the
.Sx Functions
subsection.
OpenPOWER on IntegriCloud