From c609ba2d1300921fcd0bffd5951185e7c97ff4ad Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 2 Sep 1996 15:34:25 +0000 Subject: [PATCH] (usage): Tell where to report bugs. --- src/cat.c | 1 + src/cksum.c | 1 + src/comm.c | 1 + src/csplit.c | 1 + src/cut.c | 1 + src/expand.c | 1 + src/fmt.c | 1 + src/fold.c | 1 + src/head.c | 1 + src/join.c | 1 + src/md5sum.c | 7 +++++-- src/nl.c | 1 + src/od.c | 1 + src/paste.c | 1 + src/pr.c | 1 + src/sort.c | 1 + src/split.c | 1 + src/sum.c | 1 + src/tac.c | 1 + src/tail.c | 1 + src/tr.c | 1 + src/unexpand.c | 1 + src/uniq.c | 1 + src/wc.c | 1 + 24 files changed, 28 insertions(+), 2 deletions(-) diff --git a/src/cat.c b/src/cat.c index f3124db..6ee7966 100644 --- a/src/cat.c +++ b/src/cat.c @@ -104,6 +104,7 @@ Concatenate FILE(s), or standard input, to standard output.\n\ \n\ With no FILE, or when FILE is -, read standard input.\n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/cksum.c b/src/cksum.c index a46f46b..b710056 100644 --- a/src/cksum.c +++ b/src/cksum.c @@ -275,6 +275,7 @@ Print CRC checksum and byte counts of each FILE.\n\ --help display this help and exit\n\ --version output version information and exit\n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/comm.c b/src/comm.c index 1de4284..62ef161 100644 --- a/src/comm.c +++ b/src/comm.c @@ -78,6 +78,7 @@ Compare sorted files LEFT_FILE and RIGHT_FILE line by line.\n\ --help display this help and exit\n\ --version output version information and exit\n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/csplit.c b/src/csplit.c index 7e5efab..5ba35f5 100644 --- a/src/csplit.c +++ b/src/csplit.c @@ -1586,6 +1586,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\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/cut.c b/src/cut.c index a409cf1..739ddd4 100644 --- a/src/cut.c +++ b/src/cut.c @@ -220,6 +220,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\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/expand.c b/src/expand.c index 5180dfd..cea9b44 100644 --- a/src/expand.c +++ b/src/expand.c @@ -128,6 +128,7 @@ With no FILE, or when FILE is -, read standard input.\n\ \n\ Instead of -t NUMBER or -t LIST, -NUMBER or -LIST may be used.\n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/fmt.c b/src/fmt.c index f24df5d..e09c995 100644 --- a/src/fmt.c +++ b/src/fmt.c @@ -300,6 +300,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 bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/fold.c b/src/fold.c index d4a44e0..f5ffb4d 100644 --- a/src/fold.c +++ b/src/fold.c @@ -93,6 +93,7 @@ standard output.\n\ -s, --spaces break at spaces\n\ -w, --width=WIDTH use WIDTH columns instead of 80\n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/head.c b/src/head.c index 519b19c..ba6e31b 100644 --- a/src/head.c +++ b/src/head.c @@ -105,6 +105,7 @@ SIZE may have a multiplier suffix: b for 512, k for 1K, m for 1 Meg.\n\ If -VALUE is used as first OPTION, read -c VALUE when one of\n\ multipliers bkm follows concatenated, else read -n VALUE.\n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/join.c b/src/join.c index eccdab3..b17de58 100644 --- a/src/join.c +++ b/src/join.c @@ -198,6 +198,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\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/md5sum.c b/src/md5sum.c index cbc66a3..c3d176f 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -100,7 +100,8 @@ usage (int status) fprintf (stderr, _("Try `%s --help' for more information.\n"), program_name); else - printf (_("\ + { + printf (_("\ Usage: %s [OPTION] [FILE]...\n\ or: %s [OPTION] --check [FILE]\n\ or: %s [OPTION] --string=STRING ...\n\ @@ -123,7 +124,9 @@ The sums are computed as described in RFC 1321. When checking, the input\n\ 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"), - program_name, program_name, program_name); + program_name, program_name, program_name); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); + } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/nl.c b/src/nl.c index 4ae865a..e564682 100644 --- a/src/nl.c +++ b/src/nl.c @@ -229,6 +229,7 @@ FORMAT is one of:\n\ rz right justified, leading zeros\n\ \n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/od.c b/src/od.c index a46ef17..3e5d0fa 100644 --- a/src/od.c +++ b/src/od.c @@ -388,6 +388,7 @@ with b suffix, by 1024 with k and by 1048576 with m. -s without a\n\ number implies 3. -w without a number implies 32. By default, od\n\ uses -A o -t d2 -w 16.\n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/paste.c b/src/paste.c index 4a3d6a9..c5b47e1 100644 --- a/src/paste.c +++ b/src/paste.c @@ -425,6 +425,7 @@ With no FILE, or when FILE is -, read standard input.\n\ --version output version information and exit\n\ \n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/pr.c b/src/pr.c index 47ea5ab..02e20e1 100644 --- a/src/pr.c +++ b/src/pr.c @@ -1883,6 +1883,7 @@ Paginate or columnate FILE(s) for printing.\n\ -t implied by -l N when N < 10. Without -s, columns are separated by\n\ spaces. With no FILE, or when FILE is -, read standard input.\n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/sort.c b/src/sort.c index 733df0a..4614c89 100644 --- a/src/sort.c +++ b/src/sort.c @@ -247,6 +247,7 @@ for that key. If no key given, use the entire line as key. With no\n\ FILE, or when FILE is -, read standard input.\n\ ") , DEFAULT_TMPDIR); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } /* 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 f1e4dc3..fec78cf 100644 --- a/src/split.c +++ b/src/split.c @@ -120,6 +120,7 @@ PREFIX is `x'. With no INPUT, or when INPUT is -, read standard input.\n\ \n\ SIZE may have a multiplier suffix: b for 512, k for 1K, m for 1 Meg.\n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/sum.c b/src/sum.c index 011fb69..ddaabe0 100644 --- a/src/sum.c +++ b/src/sum.c @@ -74,6 +74,7 @@ Print checksum and block counts for each FILE.\n\ \n\ With no FILE, or when FILE is -, read standard input.\n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/tac.c b/src/tac.c index cd0923a..2b9ba48 100644 --- a/src/tac.c +++ b/src/tac.c @@ -144,6 +144,7 @@ With no FILE, or when FILE is -, read standard input.\n\ --help display this help and exit\n\ --version output version information and exit\n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/tail.c b/src/tail.c index fe631f9..9bc600c 100644 --- a/src/tail.c +++ b/src/tail.c @@ -164,6 +164,7 @@ or +VALUE is treated like -n VALUE or -n +VALUE unless VALUE has one of\n\ the [bkm] suffix multipliers, in which case it is treated like -c VALUE\n\ or -c +VALUE.\n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/tr.c b/src/tr.c index e099840..e0d420e 100644 --- a/src/tr.c +++ b/src/tr.c @@ -412,6 +412,7 @@ only be used in pairs to specify case conversion. -s uses SET1 if not\n\ translating nor deleting; else squeezing uses SET2 and occurs after\n\ translation or deletion.\n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/unexpand.c b/src/unexpand.c index b9ed275..aeeb5ac 100644 --- a/src/unexpand.c +++ b/src/unexpand.c @@ -386,6 +386,7 @@ With no FILE, or when FILE is -, read standard input.\n\ \n\ Instead of -t NUMBER or -t LIST, -NUMBER or -LIST may be used.\n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/uniq.c b/src/uniq.c index 64c3031..9e99384 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -134,6 +134,7 @@ standard input), writing to OUTPUT (or standard output).\n\ A field is a run of whitespace, than non-whitespace characters.\n\ Fields are skipped before chars.\n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } diff --git a/src/wc.c b/src/wc.c index 6a05e84..8834b2a 100644 --- a/src/wc.c +++ b/src/wc.c @@ -85,6 +85,7 @@ read standard input.\n\ --help display this help and exit\n\ --version output version information and exit\n\ ")); + puts (_("\nReport bugs to bug-gnu-utils@gnu.ai.mit.edu")); } exit (status == 0 ? EXIT_SUCCESS : EXIT_FAILURE); } -- 2.7.4