[PATCH] man page typos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here are several other manpage typos.

lamont
>From 00a89087eac6c971837f5bbb8dfe258c9ab6c36d Mon Sep 17 00:00:00 2001
From: LaMont Jones <lamont@xxxxxxxxxxxx>
Date: Tue, 17 Jul 2007 23:32:03 -0600
Subject: [PATCH] manpage typos


Signed-off-by: LaMont Jones <lamont@xxxxxxxxxxxx>
---
 fdisk/cfdisk.8      |   18 +++++++++---------
 getopt/getopt.1     |   16 ++++++++--------
 misc-utils/logger.1 |    2 +-
 text-utils/rev.1    |    4 ++--
 4 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/fdisk/cfdisk.8 b/fdisk/cfdisk.8
index 68c3ffd..3cf8c89 100644
--- a/fdisk/cfdisk.8
+++ b/fdisk/cfdisk.8
@@ -113,7 +113,7 @@ detected, the filesystem type is displayed as
 .IR Unusable .
 The size field displays the size of the partition in megabytes (by
 default).  It can also display the size in sectors and cylinders (see
-the change units command below).  If an asterisks
+the change units command below).  If an asterisk
 .RB ( * )
 appears after the size, this means that the partition is not aligned
 on cylinder boundaries.
@@ -184,9 +184,9 @@ key.  If you want to change the default value, simply enter the
 desired value and press
 .IR Enter .
 The altered disk parameter values do not take effect until you return
-the main menu (by pressing
+to the main menu (by pressing
 .IR Enter " or " ESC
-at the change disk geometry command line.  If you change the geometry
+at the change disk geometry command line).  If you change the geometry
 such that the disk appears larger, the extra sectors are added at the
 end of the disk as free space.  If the disk appears smaller, the
 partitions that are beyond the new last sector are deleted and the
@@ -198,7 +198,7 @@ Print the help screen.
 .TP
 .B m
 Maximize disk usage of the current partition.  This command will
-recover the the unused space between the partition table and the
+recover the unused space between the partition table and the
 beginning of the partition, but at the cost of making the partition
 incompatible with DOS, OS/2 and possibly other operating systems.
 This option will toggle between maximal disk usage and DOS, OS/2,
@@ -218,7 +218,7 @@ no intervening primary partition).
 .B cfdisk
 next prompts you for the size of the partition you want to create.
 The default size, equal to the entire free space of the current
-partition, is display in megabytes.  You can either press the
+partition, is displayed in megabytes.  You can either press the
 .I Enter
 key to accept the default size or enter a different size at the
 prompt.
@@ -241,7 +241,7 @@ space, and
 will ask you to choose where to place the partition.  After the
 partition is created,
 .B cfdisk
-automatically adjusts the other partition's partition types if all of
+automatically adjusts the other partitions' partition types if all of
 the primary partitions are used.
 .TP
 .B p
@@ -282,7 +282,7 @@ primary and logical partitions, free and unusable space is printed and
 the extended partition is printed before the first logical partition.
 
 If a partition does not start or end on a cylinder boundary or if the
-partition length is not divisible by the cylinder size, an asterisks
+partition length is not divisible by the cylinder size, an asterisk
 .RB ( * )
 is printed after the non-aligned sector number/count.  This usually
 indicates that a partition was created by an operating system that
@@ -351,9 +351,9 @@ the write by entering `yes' or `no'.  If you enter `yes',
 .B cfdisk
 will write the partition table to disk and the tell the kernel to
 re-read the partition table from the disk.  The re-reading of the
-partition table works is most cases, but I have seen it fail.  Don't
+partition table works in most cases, but I have seen it fail.  Don't
 panic.  It will be correct after you reboot the system.  In all cases,
-I still recommend rebooting the system--just to be safe.
+I still recommend rebooting the system -- just to be safe.
 .TP
 .I Up Arrow
 .TP
diff --git a/getopt/getopt.1 b/getopt/getopt.1
index 60df5d3..21206e4 100644
--- a/getopt/getopt.1
+++ b/getopt/getopt.1
@@ -81,7 +81,7 @@ can be used.
 Allow long options to start with a single 
 .RB ` \- '.
 .IP "\-h, \-\-help"
-Output a small usage guide and exit succesfully. No other output is generated. 
+Output a small usage guide and exit successfully. No other output is generated. 
 .IP "\-l, \-\-longoptions longopts"
 The long (multi\-character) options to be recognized. 
 More than one option name
@@ -92,7 +92,7 @@ are cumulative.
 Each long option name
 in 
 .I longopts 
-may be followed by one colon to indicate it has a required argument,and by two colons to indicate it has an optional argument.
+may be followed by one colon to indicate it has a required argument, and by two colons to indicate it has an optional argument.
 .IP "\-n, \-\-name progname"
 The name that will be used by the 
 .BR getopt (3)
@@ -155,7 +155,7 @@ will return
 .RB ` \-\- ' 
 and error status 0.
 .IP "\-V, \-\-version"
-Output version information and exit succesfully. No other output is generated. 
+Output version information and exit successfully. No other output is generated. 
 .SH PARSING
 This section specifies the format of the second part of the parameters of
 .B getopt
@@ -259,7 +259,7 @@ quoting mode,
 but no second parameter will be generated in unquoted (compatible) mode.
 Note that many other 
 .BR getopt (1) 
-implemetations do not support optional arguments.
+implementations do not support optional arguments.
 
 If several short options were specified after a single 
 .RB ` \- ', 
@@ -346,7 +346,7 @@ non\-option parameters.
 
 If the first character is a
 .RB ` \- ',
-non\-option parameters are outputed at the place where they are found; in normal
+non\-option parameters are outputted at the place where they are found; in normal
 operation, they are all collected at the end of output after a 
 .RB ` \-\- ' 
 parameter has been generated. Note that this
@@ -364,7 +364,7 @@ If the first character of the first parameter of getopt is not a
 .RB ` \- ', 
 getopt goes into compatibility mode. It will interpret its first parameter as
 the string of short options, and all other arguments will be parsed. It
-will still do parameter shuffling (ie. all non\-option parameters are outputed
+will still do parameter shuffling (ie. all non\-option parameters are outputted
 at the end), unless the environment variable 
 .B POSIXLY_CORRECT 
 is set.
@@ -387,7 +387,7 @@ characters in the short options string are ignored.
 .B getopt
 returns error code 
 .B 0 
-for succesful parsing, 
+for successful parsing, 
 .B 1
 if
 .BR getopt (3)
@@ -429,7 +429,7 @@ argument (but can not do this for short options). This
 treats optional arguments that are empty as if they were not present.
 
 The syntax if you do not want any short option variables at all is
-not very intuitive (you have to set them explicitely to the empty
+not very intuitive (you have to set them explicitly to the empty
 string).
 
 .SH AUTHOR
diff --git a/misc-utils/logger.1 b/misc-utils/logger.1
index 3826de3..5245afb 100644
--- a/misc-utils/logger.1
+++ b/misc-utils/logger.1
@@ -31,7 +31,7 @@
 .\"
 .\"	@(#)logger.1	8.1 (Berkeley) 6/6/93
 .\"
-.\" Section on valid facitily and level strings added by
+.\" Section on valid facility and level strings added by
 .\" and1000@xxxxxxxxxx, 26 Oct 1997.
 .Dd June 6, 1993
 .Dt LOGGER 1
diff --git a/text-utils/rev.1 b/text-utils/rev.1
index 55170ec..e04e2ef 100644
--- a/text-utils/rev.1
+++ b/text-utils/rev.1
@@ -39,10 +39,10 @@
 .Os
 .Sh NAME
 .Nm rev
-.Nd reverse lines of a file
+.Nd reverse lines of a file or files
 .Sh SYNOPSIS
 .Nm rev
-.Op Ar file
+.Op Ar file ...
 .Sh DESCRIPTION
 The
 .Nm rev
-- 
1.5.2.3


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux