From: Jim Meyering Date: Tue, 2 Jul 2002 09:06:33 +0000 (+0000) Subject: (usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it. X-Git-Tag: FILEUTILS-4_1_10~133 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a731510b2f53cff57266fcd006e61e8743e86df;p=thirdparty%2Fcoreutils.git (usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it. --- diff --git a/src/cat.c b/src/cat.c index 935c1afaa1..eb3cd5a4da 100644 --- a/src/cat.c +++ b/src/cat.c @@ -121,7 +121,7 @@ With no FILE, or when FILE is -, read standard input.\n\ -B, --binary use binary writes to the console device.\n\n\ "), stdout); #endif - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/cksum.c b/src/cksum.c index f98d27ddd5..7d0fdc75da 100644 --- a/src/cksum.c +++ b/src/cksum.c @@ -288,7 +288,7 @@ Print CRC checksum and byte counts of each FILE.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/comm.c b/src/comm.c index b22e355530..7da3de20bd 100644 --- a/src/comm.c +++ b/src/comm.c @@ -83,7 +83,7 @@ Compare sorted files LEFT_FILE and RIGHT_FILE line by line.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/csplit.c b/src/csplit.c index 14d2ba365b..ebc930686e 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -1529,7 +1529,7 @@ Read standard input if FILE is -. Each PATTERN may be:\n\ \n\ A line OFFSET is a required `+' or `-' followed by a positive integer.\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/cut.c b/src/cut.c index be164030e2..d9592d16b8 100644 --- a/src/cut.c +++ b/src/cut.c @@ -205,7 +205,7 @@ range, or many ranges separated by commas. Each range is one of:\n\ \n\ With no FILE, or when FILE is -, read standard input.\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/expand.c b/src/expand.c index 3d97dd1e86..1ce8ac72c3 100644 --- a/src/expand.c +++ b/src/expand.c @@ -128,7 +128,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/fmt.c b/src/fmt.c index ec0ce24535..f86513f33c 100644 --- a/src/fmt.c +++ b/src/fmt.c @@ -294,7 +294,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ \n\ In -wNUMBER, the letter `w' may be omitted.\n"), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/fold.c b/src/fold.c index 084258bd53..be1d669da3 100644 --- a/src/fold.c +++ b/src/fold.c @@ -83,7 +83,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/head.c b/src/head.c index 23c29f58c3..f0879a1d10 100644 --- a/src/head.c +++ b/src/head.c @@ -112,7 +112,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ \n\ SIZE may have a multiplier suffix: b for 512, k for 1K, m for 1 Meg.\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/join.c b/src/join.c index 94417db192..b6f2c69226 100644 --- a/src/join.c +++ b/src/join.c @@ -177,7 +177,7 @@ each being `SIDE.FIELD' or `0'. Default FORMAT outputs the join field,\n\ the remaining fields from FILE1, the remaining fields from FILE2, all\n\ separated by CHAR.\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/md5sum.c b/src/md5sum.c index a5a31d09f1..b7e6f4b723 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -154,7 +154,7 @@ should be a former output of this program. The default mode is to print\n\ a line with checksum, a character indicating type (`*' for binary, ` ' for\n\ text), and name for each FILE.\n"), (algorithm == ALG_MD5 ? "RFC 1321" : "FIPS-180-1")); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); diff --git a/src/nl.c b/src/nl.c index 41b4559f9c..5204380fcf 100644 --- a/src/nl.c +++ b/src/nl.c @@ -224,7 +224,7 @@ FORMAT is one of:\n\ rz right justified, leading zeros\n\ \n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/od.c b/src/od.c index 2e3f7f9f28..6c0de1874e 100644 --- a/src/od.c +++ b/src/od.c @@ -371,7 +371,7 @@ of output. \ --string without a number implies 3. --width without a number\n\ implies 32. By default, od uses -A o -t d2 -w 16.\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/paste.c b/src/paste.c index 0c61562878..3814c5a088 100644 --- a/src/paste.c +++ b/src/paste.c @@ -420,7 +420,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); /* FIXME: add a couple of examples. */ - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/pr.c b/src/pr.c index cae03f0690..f5b22cc057 100644 --- a/src/pr.c +++ b/src/pr.c @@ -2861,7 +2861,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ -T implied by -l nn when nn <= 10 or <= 3 with -F. With no FILE, or when\n\ FILE is -, read standard input.\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/sort.c b/src/sort.c index 999de40159..9d1b8ac35b 100644 --- a/src/sort.c +++ b/src/sort.c @@ -343,7 +343,7 @@ The locale specified by the environment affects sort order.\n\ Set LC_ALL=C to get the traditional sort order that uses\n\ native byte values.\n\ "), stdout ); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } /* Don't use EXIT_FAILURE here in case it is defined to be 1. POSIX requires that sort return 1 IFF invoked with -c and diff --git a/src/split.c b/src/split.c index 2cc3055895..f470395298 100644 --- a/src/split.c +++ b/src/split.c @@ -120,7 +120,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ \n\ SIZE may have a multiplier suffix: b for 512, k for 1K, m for 1 Meg.\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/sum.c b/src/sum.c index ced371e8c4..302ade014f 100644 --- a/src/sum.c +++ b/src/sum.c @@ -73,7 +73,7 @@ Print checksum and block counts for each FILE.\n\ \n\ With no FILE, or when FILE is -, read standard input.\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/tac.c b/src/tac.c index 6e75aa357a..b0da18ff46 100644 --- a/src/tac.c +++ b/src/tac.c @@ -143,7 +143,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/tail.c b/src/tail.c index c759d48936..3ab262d031 100644 --- a/src/tail.c +++ b/src/tail.c @@ -301,7 +301,7 @@ rotation). Use --follow=name in that case. That causes tail to track the\n\ named file by reopening it periodically to see if it has been removed and\n\ recreated by some other program.\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/tr.c b/src/tr.c index b08c218047..e931990ce6 100644 --- a/src/tr.c +++ b/src/tr.c @@ -393,7 +393,7 @@ only be used in pairs to specify case conversion. \ translating nor deleting; else squeezing uses SET2 and occurs after\n\ translation or deletion.\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/tsort.c b/src/tsort.c index f08795fda6..c8a8735847 100644 --- a/src/tsort.c +++ b/src/tsort.c @@ -102,7 +102,7 @@ With no FILE, or when FILE is -, read standard input.\n\ "), program_name); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); diff --git a/src/unexpand.c b/src/unexpand.c index dec49042bd..3b830d7713 100644 --- a/src/unexpand.c +++ b/src/unexpand.c @@ -381,17 +381,17 @@ Convert spaces in each FILE to tabs, writing to standard output.\n\ With no FILE, or when FILE is -, read standard input.\n\ \n\ "), stdout); - fputs (_("\ + fputs (_("\ Mandatory arguments to long options are mandatory for short options too.\n\ "), stdout); - fputs (_("\ + fputs (_("\ -a, --all convert all whitespace, instead of initial whitespace\n\ -t, --tabs=NUMBER have tabs NUMBER characters apart instead of 8\n\ -t, --tabs=LIST use comma separated list of explicit tab positions\n\ "), stdout); - fputs (HELP_OPTION_DESCRIPTION, stdout); - fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + fputs (HELP_OPTION_DESCRIPTION, stdout); + fputs (VERSION_OPTION_DESCRIPTION, stdout); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/uniq.c b/src/uniq.c index 78d0099b5a..1dd037a40a 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -166,7 +166,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\ A field is a run of whitespace, then non-whitespace characters.\n\ Fields are skipped before chars.\n\ "), stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/wc.c b/src/wc.c index 970497ac84..062a7dd057 100644 --- a/src/wc.c +++ b/src/wc.c @@ -143,7 +143,7 @@ read standard input.\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); - puts (_("\nReport bugs to .")); + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); }