>From fd8fea4c6a06f3c9b1a6336a4c97b766d4e990f0 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 20 Dec 2018 16:35:55 -0800 Subject: [PATCH] grep: fit --version authorship into 80 * src/grep.c (AUTHORS): Remove. (main): Output the authorship info ourselves instead of having version_etc do it. This is better for i18n anyway. --- src/grep.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/grep.c b/src/grep.c index aa1d6dd..9fb5e92 100644 --- a/src/grep.c +++ b/src/grep.c @@ -56,10 +56,6 @@ enum { SEP_CHAR_SELECTED = ':' }; enum { SEP_CHAR_REJECTED = '-' }; static char const SEP_STR_GROUP[] = "--"; -#define AUTHORS \ - proper_name ("Mike Haertel"), \ - _("others, see ") - /* When stdout is connected to a regular file, save its stat information here, so that we can automatically skip it, thus avoiding a potential (racy) infinite loop. */ @@ -2769,8 +2765,10 @@ main (int argc, char **argv) if (show_version) { - version_etc (stdout, getprogname (), PACKAGE_NAME, VERSION, AUTHORS, + version_etc (stdout, getprogname (), PACKAGE_NAME, VERSION, (char *) NULL); + puts (_("Written by Mike Haertel and others; see\n" + ".")); return EXIT_SUCCESS; } -- 2.19.2