some typo and grammar fixes [patch]

Benno Schulenberg <[email protected]> Sun, 12 Nov 2006 19:46:24 +0100
Newsgroups gmane.linux.pld.shadow.general
Message-ID <[email protected]>
--Boundary_(ID_CKvPnfpX9BgH4kxLitpHBQ)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline


Hi,

Attached patch corrects a wrong word, a few typos, some grammar 
mistakes, and puts in a comma here and there for clarity -- in the 
man pages for su and newusers.

Benno

--Boundary_(ID_CKvPnfpX9BgH4kxLitpHBQ)
Content-type: text/x-diff; charset=us-ascii; name=shadow--typos+grammar.patch
Content-transfer-encoding: 7BIT
Content-disposition: attachment; filename=shadow--typos+grammar.patch

diff -ur cvs-shadow/man/su.1.xml shadow-new/man/su.1.xml
--- cvs-shadow/man/su.1.xml	2006-11-07 22:34:25.000000000 +0100
+++ shadow-new/man/su.1.xml	2006-11-12 19:34:24.000000000 +0100
@@ -78,7 +78,7 @@
       <varlistentry>
 	<term>
 	  <option>-c</option>, <option>--command</option>
-	  <replaceable>SHELL</replaceable>
+	  <replaceable>COMMAND</replaceable>
 	</term>
 	<listitem>
 	  <para>
@@ -112,10 +112,10 @@
 	<listitem>
 	  <para>The shell that will be invoked.</para>
 	  <para>
-	    The invoked shell is choosen among (higest priority first):
+	    The invoked shell is chosen from (highest priority first):
 	    <itemizedlist>
 	      <listitem>
-		<para>The shell specified with --shell</para>
+		<para>The shell specified with --shell.</para>
 	      </listitem>
 	      <listitem>
 		<para>
@@ -141,10 +141,10 @@
 	  <para>
 	    If the target user has a restricted shell (i.e. the shell field of
 	    this user's entry in <filename>/etc/passwd</filename> is not
-	    specified in <filename>/etc/shell</filename>), then the
+	    listed in <filename>/etc/shell</filename>), then the
 	    <option>--shell</option> option or the <envar>$SHELL</envar>
-	    environment variable won't be taken into account unless
-	    <command>su</command> is called by the root.
+	    environment variable won't be taken into account, unless
+	    <command>su</command> is called by root.
 	  </para>
 	</listitem>
       </varlistentry>
diff -ur cvs-shadow/man/newusers.8.xml shadow-new/man/newusers.8.xml
--- cvs-shadow/man/newusers.8.xml	2006-11-01 11:54:55.000000000 +0100
+++ shadow-new/man/newusers.8.xml	2006-11-12 19:34:24.000000000 +0100
@@ -49,10 +49,11 @@
 	</term>
 	<listitem>
 	  <para>
-	    This field must contain name of group. When specified an existing
-	    group name the named user will be added as a new member of this
-	    group. If specified non-existent non-numerical group name a new
-	    group will be created.
+	    This field must contain the name (or number) of a group. The user
+	    will be added as a member to this group. When a non-existent
+	    group name or number is specified, a new group will be created.
+	    In the case of a non-existent group number, both the name and the
+	    number of the new group will be this number.
 	  </para>
 	</listitem>
       </varlistentry>
@@ -62,8 +63,8 @@
 	</term>
 	<listitem>
 	  <para>
-	    This field will be checked for existence as a directory and a
-	    new directory with the same name will be created if it does not
+	    This field will be checked for existence as a directory, and a
+	    new directory with this name will be created if it does not
 	    already exist. The ownership of the directory will be set to be
 	    that of the user being created or updated.
 	  </para>

--Boundary_(ID_CKvPnfpX9BgH4kxLitpHBQ)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline