sg: Fix grammar in documentation

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>
This commit is contained in:
Tobias Stoeckmann 2025-12-28 16:34:54 +01:00 committed by Alejandro Colomar
parent ee7fa1dfc6
commit dc2cbf9ec4
2 changed files with 2 additions and 2 deletions

View 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>

View 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).
*/