From 8af1113166785d8c42bdd28ab12ad13e6b5496f0 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Thu, 17 Nov 2005 12:15:23 +0000 Subject: [PATCH] -mdoc sweep. --- bin/date/date.1 | 7 +------ bin/kenv/kenv.1 | 2 +- bin/ls/ls.1 | 4 +--- bin/rm/rm.1 | 2 +- bin/sh/sh.1 | 30 ++++++++++++++---------------- 5 files changed, 18 insertions(+), 27 deletions(-) diff --git a/bin/date/date.1 b/bin/date/date.1 index bac620e93b7a..3ac176be1cff 100644 --- a/bin/date/date.1 +++ b/bin/date/date.1 @@ -421,12 +421,7 @@ The utility is expected to be compatible with .St -p1003.2 . The -.Fl d , -.Fl f , -.Fl j , -.Fl n , -.Fl r , -.Fl t , +.Fl d , f , j , n , r , t , and .Fl v options are all extensions to the standard. diff --git a/bin/kenv/kenv.1 b/bin/kenv/kenv.1 index d9cdf8b564c5..29260f0bd670 100644 --- a/bin/kenv/kenv.1 +++ b/bin/kenv/kenv.1 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 8, 2000 +.Dd September 13, 2005 .Dt KENV 1 .Os .Sh NAME diff --git a/bin/ls/ls.1 b/bin/ls/ls.1 index 3f1b084d6cce..4a1667928630 100644 --- a/bin/ls/ls.1 +++ b/bin/ls/ls.1 @@ -650,9 +650,7 @@ specification. .Xr sticky 8 .Sh STANDARDS With the exception of options -.Fl I , -.Fl g , -.Fl n +.Fl I , g , n and .Fl o , the diff --git a/bin/rm/rm.1 b/bin/rm/rm.1 index f15b9343aa75..0ffb00e3f030 100644 --- a/bin/rm/rm.1 +++ b/bin/rm/rm.1 @@ -91,7 +91,7 @@ then 0x00, and then 0xff again, before they are deleted. Specifying this flag for a read only file will cause .Nm to generate an error message and exit. -The file wil not be removed or overwritten. +The file will not be removed or overwritten. .It Fl R Attempt to remove the file hierarchy rooted in each file argument. The diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index 5e792d416905..6fe77953ae18 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.