- #. This is a proper name. See the gettext manual, section Names.
- #: src/getlimits.c:29 src/timeout.c:74 src/truncate.c:42
- msgid "Padraig Brady"
-
---- coreutils-8.6/README~ 2010-10-17 21:37:11.589739007 +0200
-+++ coreutils-8.6/README 2010-10-17 21:42:27.222782339 +0200
-@@ -9,7 +9,7 @@
-
- [ arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp
- csplit cut date dd df dir dircolors dirname du echo env expand expr
-- factor false fmt fold groups head hostid hostname id install join kill
-+ factor false fmt fold getgid groups head hostid hostname id install join kill
- link ln logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup
- nproc od paste pathchk pinky pr printenv printf ptx pwd readlink rm rmdir
- runcon runuser seq sha1sum sha224sum sha256sum sha384sum sha512sum shred shuf
++ atexit (close_stdout);
++
++ parse_long_options (argc, argv, PROGRAM_NAME, PACKAGE_NAME, Version,
++ usage, AUTHORS, (char const *) NULL);
++ if (getopt_long (argc, argv, "", NULL, NULL) != -1)
++ usage (EXIT_FAILURE);
++
++ if (argc < optind + 1)
++ {
++ error (0, 0, _("missing operand"));
++ usage (EXIT_FAILURE);
++ }
++
++ if (optind + 2 < argc)
++ {
++ error (0, 0, _("extra operand %s"), quote (argv[optind + 2]));
++ usage (EXIT_FAILURE);
++ }
++
++ gr = getgrnam(argv[optind]);
++ if (gr == NULL)
++ error (EXIT_FAILURE, errno, _("cannot find group name %s"), quote (argv[optind]));
++ else
++ printf("%lu\n", (unsigned long int) gr->gr_gid);
++ exit(EXIT_SUCCESS);
++}
+diff -urNp -x '*.orig' coreutils-8.32.org/src/local.mk coreutils-8.32/src/local.mk
+--- coreutils-8.32.org/src/local.mk 2020-02-25 13:54:28.000000000 +0100
++++ coreutils-8.32/src/local.mk 2021-03-21 00:28:40.317899186 +0100
+@@ -130,6 +130,7 @@ src_factor_LDADD = $(LDADD)
+ src_false_LDADD = $(LDADD)
+ src_fmt_LDADD = $(LDADD)
+ src_fold_LDADD = $(LDADD)
++src_getgid_LDADD = $(LDADD)
+ src_getlimits_LDADD = $(LDADD)
+ src_ginstall_LDADD = $(LDADD)
+ src_groups_LDADD = $(LDADD)