aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-11-18 10:36:29 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-11-18 10:36:29 +0000
commit4e9e907d636ef7f776d89d98bd778f740ee69cdd (patch)
tree810cb0151feedaec0d50a8b5857338a761532875 /usr.bin
parent26f59b64552306a2899a7b634454e0d8584c0cf5 (diff)
downloadsrc-4e9e907d636ef7f776d89d98bd778f740ee69cdd.tar.gz
src-4e9e907d636ef7f776d89d98bd778f740ee69cdd.zip
-mdoc sweep.
Notes
Notes: svn path=/head/; revision=152568
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cmp/cmp.14
-rw-r--r--usr.bin/compress/compress.121
-rw-r--r--usr.bin/kdump/kdump.18
-rw-r--r--usr.bin/mt/mt.127
-rw-r--r--usr.bin/netstat/netstat.15
-rw-r--r--usr.bin/pkill/pkill.12
-rw-r--r--usr.bin/split/split.18
7 files changed, 38 insertions, 37 deletions
diff --git a/usr.bin/cmp/cmp.1 b/usr.bin/cmp/cmp.1
index 22ed9324eb87..50ba535de8cf 100644
--- a/usr.bin/cmp/cmp.1
+++ b/usr.bin/cmp/cmp.1
@@ -35,7 +35,7 @@
.\" @(#)cmp.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd June 6, 1993
+.Dd August 23, 2005
.Dt CMP 1
.Os
.Sh NAME
@@ -62,7 +62,7 @@ Bytes and lines are numbered beginning with one.
The following options are available:
.Bl -tag -width flag
.It Fl h
-Don't follow symbolic links.
+Do not follow symbolic links.
.It Fl l
Print the byte number (decimal) and the differing
byte values (octal) for each difference.
diff --git a/usr.bin/compress/compress.1 b/usr.bin/compress/compress.1
index 91be154eadd9..c37562fb0402 100644
--- a/usr.bin/compress/compress.1
+++ b/usr.bin/compress/compress.1
@@ -65,11 +65,11 @@ utility reduces the size of files using adaptive Lempel-Ziv coding.
Each
.Ar file
is renamed to the same name plus the extension
-.Dq .Z .
+.Pa .Z .
A
.Ar file
argument with a
-.Dq .Z
+.Pa .Z
extension will be ignored except it will cause an
error exit after other arguments are processed.
If compression would not reduce the size of a
@@ -80,13 +80,13 @@ The
.Nm uncompress
utility restores compressed files to their original form, renaming the
files by deleting the
-.Dq .Z
+.Pa .Z
extensions.
A file specification need not include the file's
-.Dq .Z
+.Pa .Z
extension.
If a file's name in its file system does not have a
-.Dq .Z
+.Pa .Z
extension, it will not be uncompressed and it will cause
an error exit after other arguments are processed.
.Pp
@@ -218,13 +218,12 @@ The
command appeared in
.Bx 4.3 .
.Sh BUGS
-.Pp
Some of these might be considered otherwise-undocumented features.
.Pp
.Nm compress :
If the utility does not compress a file because doing so would not
-reduce it size, and a file of the same name except with an
-.Dq .Z
+reduce its size, and a file of the same name except with an
+.Pa .Z
extension exists, the named file is not really ignored as stated above;
it causes a prompt to confirm the overwriting of the file with the extension.
If the operation is confirmed, that file is deleted.
@@ -233,7 +232,7 @@ If the operation is confirmed, that file is deleted.
If an empty file is compressed (using
.Fl f ) ,
the resulting
-.Dq .Z
+.Pa .Z
file is also empty.
That seems right, but if
.Nm uncompress
@@ -250,9 +249,9 @@ If the specified file does not exist, but a similarly-named one with (for
or without (for
.Nm uncompress )
a
-.Dq .Z
+.Pa .Z
extension does exist, the utility will waste the user's time by not
immediately emitting an error message about the missing file and
continuing.
Instead, it first asks for confirmation to overwrite
-the existing file and then doesn't overwrite it.
+the existing file and then does not overwrite it.
diff --git a/usr.bin/kdump/kdump.1 b/usr.bin/kdump/kdump.1
index e89f478dc6ea..fc4037456274 100644
--- a/usr.bin/kdump/kdump.1
+++ b/usr.bin/kdump/kdump.1
@@ -32,7 +32,7 @@
.\" @(#)kdump.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd January 28, 2005
+.Dd November 12, 2005
.Dt KDUMP 1
.Os
.Sh NAME
@@ -65,8 +65,8 @@ Display elapsed timestamps (time since beginning of trace).
Display the specified file instead of
.Pa ktrace.out .
.It Fl H
-List the thread id (tid) of the thread with each trace record, if available.
-If no thread id is available, 0 will be printed.
+List the thread ID (tid) of the thread with each trace record, if available.
+If no thread ID is available, 0 will be printed.
.It Fl l
Loop reading the trace file, once the end-of-file is reached, waiting for
more data.
@@ -129,7 +129,7 @@ The second field is the name of the program being traced.
The third field is the operation that the kernel performed
on behalf of the process.
If thread IDs are being printed, then an additional thread ID column will be
-added to the output between the PId field and program name field.
+added to the output between the PID field and program name field.
.Pp
In the first line above, the kernel executes the
.Xr writev 2
diff --git a/usr.bin/mt/mt.1 b/usr.bin/mt/mt.1
index e548820a7ddf..2328e4f197a8 100644
--- a/usr.bin/mt/mt.1
+++ b/usr.bin/mt/mt.1
@@ -58,7 +58,9 @@ The
.Fl f
option's
.Ar tapename
-overrides the TAPE environment variable described below.
+overrides the
+.Ev TAPE
+environment variable described below.
.Pp
The available commands are listed below.
Only as many
@@ -68,7 +70,7 @@ need be specified.
The following commands optionally take a
.Ar count ,
which defaults to 1.
-.Bl -tag -width "erase"
+.Bl -tag -width ".Cm erase"
.It Cm weof
Write
.Ar count
@@ -112,7 +114,7 @@ The tape will be at its beginning upon completion.
.Pp
The following commands ignore
.Ar count .
-.Bl -tag -width "geteotmodel"
+.Bl -tag -width ".Cm geteotmodel"
.It Cm rdhpos
Read the hardware block position.
The block
@@ -171,7 +173,7 @@ typically after an EOF mark where another file may be written.
.Pp
The following commands require an
.Ar argument .
-.Bl -tag -width "seteotmodel"
+.Bl -tag -width ".Cm seteotmodel"
.It Cm sethpos
Set the hardware block position.
The
@@ -260,7 +262,7 @@ The density codes are:
.Bd -literal -offset 3n
0x0 default for device
0xE reserved for ECMA
-.Dl ""
+
Value Width Tracks Density Code Type Reference Note
mm in bpmm bpi
0x01 12.7 (0.5) 9 32 (800) NRZI R X3.22-1983 2
@@ -309,11 +311,11 @@ Value Width Tracks Density Code Type Reference Note
0x49 12.7 (0.5) 448 7,598 (193,000) PRML C SDLTapeI(160) 6,8
.Ed
.Bd -literal -offset 3n
-Code Description Type Description
----------------- ----------------
-NRZI Non return to zero, change on ones R Reel-to-reel
-GCR Group code recording C Cartridge
-PE Phase encoded CS Cassette
+Code Description Type Description
+---- -------------------------------------- ---- -----------
+NRZI Non return to zero, change on ones R Reel-to-reel
+GCR Group code recording C Cartridge
+PE Phase encoded CS Cassette
IMFM Inverted modified frequency modulation
MFM Modified frequency modulation
DDS DAT data storage
@@ -334,7 +336,7 @@ NOTES
8 physical tracks each.
.Ed
.Sh ENVIRONMENT
-.Bl -tag -width TAPE
+.Bl -tag -width ".Ev TAPE"
.It Ev TAPE
This is the pathname of the tape drive.
The default (if the variable is unset, but not if it is null) is
@@ -344,14 +346,13 @@ It may be overridden with the
option.
.El
.Sh FILES
-.Bl -tag -width /dev/*sa[0-9]*xx -compact
+.Bl -tag -width ".Pa /dev/*sa[0-9]*" -compact
.It Pa /dev/*wt*
QIC-02/QIC-36 magnetic tape interface
.It Pa /dev/*sa[0-9]*
SCSI magnetic tape interface
.El
.Sh DIAGNOSTICS
-.Pp
The exit status will be 0 when the drive operations were successful,
2 when the drive operations were unsuccessful, and 1 for other
problems like an unrecognized command or a missing drive device.
diff --git a/usr.bin/netstat/netstat.1 b/usr.bin/netstat/netstat.1
index 0dac06f9397b..2c15f6524aad 100644
--- a/usr.bin/netstat/netstat.1
+++ b/usr.bin/netstat/netstat.1
@@ -200,8 +200,9 @@ The network manages a private pool of memory buffers.
.Xc
Show statistics about
.Xr bpf 4
-peers. This includes information like
-how many packets have been matched, dropped and recieved by the
+peers.
+This includes information like
+how many packets have been matched, dropped and received by the
bpf device, also information about current buffer sizes and device
states.
.It Xo
diff --git a/usr.bin/pkill/pkill.1 b/usr.bin/pkill/pkill.1
index 38c929faefd2..7db3307f4af3 100644
--- a/usr.bin/pkill/pkill.1
+++ b/usr.bin/pkill/pkill.1
@@ -36,7 +36,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd March 20, 2005
+.Dd November 16, 2005
.Dt PKILL 1
.Os
.Sh NAME
diff --git a/usr.bin/split/split.1 b/usr.bin/split/split.1
index 697682e65094..5b174329d9b6 100644
--- a/usr.bin/split/split.1
+++ b/usr.bin/split/split.1
@@ -41,7 +41,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl a Ar suffix_length
-.Op Fl b Ar byte_count[k|m]
+.Op Fl b Ar byte_count Ns Op Cm k Ns | Ns Cm m
.Op Fl l Ar line_count
.Op Fl p Ar pattern
.Op Ar file Op Ar name
@@ -65,17 +65,17 @@ The options are as follows:
Use
.Ar suffix_length
letters to form the suffix of the file name.
-.It Fl b Ar byte_count[k|m]
+.It Fl b Ar byte_count Ns Op Cm k Ns | Ns Cm m
Create smaller files
.Ar byte_count
bytes in length.
If
-.Dq Li k
+.Cm k
is appended to the number, the file is split into
.Ar byte_count
kilobyte pieces.
If
-.Dq Li m
+.Cm m
is appended to the number, the file is split into
.Ar byte_count
megabyte pieces.