]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
sg: Fix grammar in documentation
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sun, 28 Dec 2025 15:34:54 +0000 (16:34 +0100)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Mon, 29 Dec 2025 22:49:00 +0000 (23:49 +0100)
Use "an" in front of sg due to its pronounciation. Also, start a comment
with capital letter in its first sentence to comply with other comments.

No functional change.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
man/sg.1.xml
src/newgrp.c

index 72bef7001824426f3e3a177ca302ad758d5aebac..8eab62fae2d60c3151c9605c32ba346efdbb28a8 100644 (file)
@@ -64,7 +64,7 @@
       <command>newgrp</command> and <command>sg</command> is that some
       shells treat <command>newgrp</command> specially, replacing themselves
       with a new instance of a shell that <command>newgrp</command> creates.
-      This doesn't happen with <command>sg</command>, so upon exit from a
+      This doesn't happen with <command>sg</command>, so upon exit from an
       <command>sg</command> command you are returned to your previous group
       ID.
     </para>
index 055da7d3003f3f5c9b1ab6a66993eb49516abd0c..e48b4d36606de37d60a02b8b895b3aca001b0229 100644 (file)
@@ -498,7 +498,7 @@ int main (int argc, char **argv)
                if (argc > 0) {
 
                        /*
-                        * skip -c if specified so both forms work:
+                        * Skip -c if specified so both forms work:
                         * "sg group -c command" (as in the man page) or
                         * "sg group command" (as in the usage message).
                         */