From: Tobias Stoeckmann Date: Sun, 28 Dec 2025 15:34:54 +0000 (+0100) Subject: sg: Fix grammar in documentation X-Git-Tag: 4.19.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc2cbf9ec4d41e93fe438e14b074fa780ee08814;p=thirdparty%2Fshadow.git 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 --- diff --git a/man/sg.1.xml b/man/sg.1.xml index 72bef7001..8eab62fae 100644 --- a/man/sg.1.xml +++ b/man/sg.1.xml @@ -64,7 +64,7 @@ newgrp and sg is that some shells treat newgrp specially, replacing themselves with a new instance of a shell that newgrp creates. - This doesn't happen with sg, so upon exit from a + This doesn't happen with sg, so upon exit from an sg command you are returned to your previous group ID. diff --git a/src/newgrp.c b/src/newgrp.c index 055da7d30..e48b4d366 100644 --- a/src/newgrp.c +++ b/src/newgrp.c @@ -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). */