From dc2cbf9ec4d41e93fe438e14b074fa780ee08814 Mon Sep 17 00:00:00 2001 From: Tobias Stoeckmann Date: Sun, 28 Dec 2025 16:34:54 +0100 Subject: [PATCH] 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 --- man/sg.1.xml | 2 +- src/newgrp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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). */ -- 2.47.3