summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-03-28 08:50:29 +0200
committerJim Meyering <jim@meyering.net>2007-03-28 08:50:29 +0200
commita0faff1a58a96e008f45ab7c00e790dd2c397363 (patch)
treeaca8128d1151ed114a7647491e01bb4e942ef833 /src
parent59312fa3f99cbe5a4bb4f194a1106ea484d9bb0c (diff)
downloadcoreutils-a0faff1a58a96e008f45ab7c00e790dd2c397363.tar.xz
Help translators include translation team's web or email address.
* src/system.h (emit_bug_reporting_address): New function. * src/base64.c: Use it rather than a literal printf. * src/basename.c, src/cat.c, src/chgrp.c, src/chmod.c: * src/chown.c, src/chroot.c, src/cksum.c, src/comm.c, src/cp.c: * src/csplit.c, src/cut.c, src/date.c, src/dd.c, src/df.c: * src/dircolors.c, src/dirname.c, src/du.c, src/echo.c, src/env.c: * src/expand.c, src/expr.c, src/factor.c, src/fmt.c, src/fold.c: * src/head.c, src/hostid.c, src/hostname.c, src/id.c, src/install.c: * src/join.c, src/kill.c, src/link.c, src/ln.c, src/logname.c: * src/ls.c, src/md5sum.c, src/mkdir.c, src/mkfifo.c, src/mknod.c: * src/mv.c, src/nice.c, src/nl.c, src/nohup.c, src/od.c: * src/paste.c, src/pathchk.c, src/pinky.c, src/pr.c, src/printenv.c: * src/printf.c, src/ptx.c, src/pwd.c, src/readlink.c, src/rm.c: * src/rmdir.c, src/seq.c, src/setuidgid.c, src/shred.c, src/shuf.c: * src/sleep.c, src/sort.c, src/split.c, src/stat.c, src/stty.c: * src/su.c, src/sum.c, src/sync.c, src/system.h, src/tac.c: * src/tail.c, src/tee.c, src/test.c, src/touch.c, src/tr.c: * src/true.c, src/tsort.c, src/tty.c, src/uname.c, src/unexpand.c: * src/uniq.c, src/unlink.c, src/uptime.c, src/users.c, src/wc.c: * src/who.c, src/whoami.c, src/yes.c: Likewise.
Diffstat (limited to 'src')
-rw-r--r--src/base64.c2
-rw-r--r--src/basename.c2
-rw-r--r--src/cat.c2
-rw-r--r--src/chgrp.c2
-rw-r--r--src/chmod.c2
-rw-r--r--src/chown.c2
-rw-r--r--src/chroot.c2
-rw-r--r--src/cksum.c2
-rw-r--r--src/comm.c2
-rw-r--r--src/cp.c2
-rw-r--r--src/csplit.c2
-rw-r--r--src/cut.c2
-rw-r--r--src/date.c2
-rw-r--r--src/dd.c2
-rw-r--r--src/df.c2
-rw-r--r--src/dircolors.c2
-rw-r--r--src/dirname.c2
-rw-r--r--src/du.c2
-rw-r--r--src/echo.c2
-rw-r--r--src/env.c2
-rw-r--r--src/expand.c2
-rw-r--r--src/expr.c2
-rw-r--r--src/factor.c2
-rw-r--r--src/fmt.c2
-rw-r--r--src/fold.c2
-rw-r--r--src/head.c2
-rw-r--r--src/hostid.c2
-rw-r--r--src/hostname.c2
-rw-r--r--src/id.c2
-rw-r--r--src/install.c2
-rw-r--r--src/join.c2
-rw-r--r--src/kill.c2
-rw-r--r--src/link.c2
-rw-r--r--src/ln.c2
-rw-r--r--src/logname.c2
-rw-r--r--src/ls.c2
-rw-r--r--src/md5sum.c2
-rw-r--r--src/mkdir.c2
-rw-r--r--src/mkfifo.c2
-rw-r--r--src/mknod.c2
-rw-r--r--src/mv.c2
-rw-r--r--src/nice.c2
-rw-r--r--src/nl.c2
-rw-r--r--src/nohup.c2
-rw-r--r--src/od.c2
-rw-r--r--src/paste.c2
-rw-r--r--src/pathchk.c2
-rw-r--r--src/pinky.c2
-rw-r--r--src/pr.c2
-rw-r--r--src/printenv.c2
-rw-r--r--src/printf.c2
-rw-r--r--src/ptx.c2
-rw-r--r--src/pwd.c2
-rw-r--r--src/readlink.c2
-rw-r--r--src/rm.c2
-rw-r--r--src/rmdir.c2
-rw-r--r--src/seq.c2
-rw-r--r--src/setuidgid.c2
-rw-r--r--src/shred.c2
-rw-r--r--src/shuf.c2
-rw-r--r--src/sleep.c2
-rw-r--r--src/sort.c2
-rw-r--r--src/split.c2
-rw-r--r--src/stat.c2
-rw-r--r--src/stty.c2
-rw-r--r--src/su.c2
-rw-r--r--src/sum.c2
-rw-r--r--src/sync.c2
-rw-r--r--src/system.h10
-rw-r--r--src/tac.c2
-rw-r--r--src/tail.c2
-rw-r--r--src/tee.c2
-rw-r--r--src/test.c2
-rw-r--r--src/touch.c2
-rw-r--r--src/tr.c2
-rw-r--r--src/true.c2
-rw-r--r--src/tsort.c2
-rw-r--r--src/tty.c2
-rw-r--r--src/uname.c2
-rw-r--r--src/unexpand.c2
-rw-r--r--src/uniq.c2
-rw-r--r--src/unlink.c2
-rw-r--r--src/uptime.c2
-rw-r--r--src/users.c2
-rw-r--r--src/wc.c2
-rw-r--r--src/who.c2
-rw-r--r--src/whoami.c2
-rw-r--r--src/yes.c2
88 files changed, 97 insertions, 87 deletions
diff --git a/src/base64.c b/src/base64.c
index 9f8ff417c..4a278278e 100644
--- a/src/base64.c
+++ b/src/base64.c
@@ -87,7 +87,7 @@ When decoding, the input may contain newlines in addition to the bytes of\n\
the formal base64 alphabet. Use --ignore-garbage to attempt to recover\n\
from any other non-alphabet bytes in the encoded stream.\n"),
stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
diff --git a/src/basename.c b/src/basename.c
index f2617b1ea..22f76fc3b 100644
--- a/src/basename.c
+++ b/src/basename.c
@@ -70,7 +70,7 @@ Examples:\n\
%s include/stdio.h .h Output \"stdio\".\n\
"),
program_name, program_name);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/cat.c b/src/cat.c
index 90a73c21b..e100a1483 100644
--- a/src/cat.c
+++ b/src/cat.c
@@ -125,7 +125,7 @@ Examples:\n\
%s Copy standard input to standard output.\n\
"),
program_name, program_name);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/chgrp.c b/src/chgrp.c
index faf58d36b..1778a8d69 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -160,7 +160,7 @@ Examples:\n\
%s -hR staff /u Change the group of /u and subfiles to \"staff\".\n\
"),
program_name, program_name);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/chmod.c b/src/chmod.c
index 028c882d0..707b41561 100644
--- a/src/chmod.c
+++ b/src/chmod.c
@@ -369,7 +369,7 @@ Change the mode of each FILE to MODE.\n\
\n\
Each MODE is of the form `[ugoa]*([-+=]([rwxXst]*|[ugo]))+'.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/chown.c b/src/chown.c
index 63a32f5bf..29b75a251 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -155,7 +155,7 @@ Examples:\n\
%s -hR root /u Change the owner of /u and subfiles to \"root\".\n\
"),
program_name, program_name, program_name);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/chroot.c b/src/chroot.c
index d2ae0e580..31af1817c 100644
--- a/src/chroot.c
+++ b/src/chroot.c
@@ -57,7 +57,7 @@ Run COMMAND with root directory set to NEWROOT.\n\
\n\
If no command is given, run ``${SHELL} -i'' (default: /bin/sh).\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/cksum.c b/src/cksum.c
index d93877fa5..7b65c730d 100644
--- a/src/cksum.c
+++ b/src/cksum.c
@@ -273,7 +273,7 @@ Print CRC checksum and byte counts of each FILE.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/comm.c b/src/comm.c
index 9b7e03f1f..6ab4938b3 100644
--- a/src/comm.c
+++ b/src/comm.c
@@ -91,7 +91,7 @@ and column three contains lines common to both files.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/cp.c b/src/cp.c
index 5759e0d07..1fffbd794 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -249,7 +249,7 @@ As a special case, cp makes a backup of SOURCE when the force and backup\n\
options are given and SOURCE and DEST are the same name for an existing,\n\
regular file.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/csplit.c b/src/csplit.c
index c2105bc07..75a5718d1 100644
--- a/src/csplit.c
+++ b/src/csplit.c
@@ -1509,7 +1509,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);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/cut.c b/src/cut.c
index c9b83595a..bf468fee4 100644
--- a/src/cut.c
+++ b/src/cut.c
@@ -234,7 +234,7 @@ Each range is one of:\n\
\n\
With no FILE, or when FILE is -, read standard input.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/date.c b/src/date.c
index c64ab1c04..8102e9921 100644
--- a/src/date.c
+++ b/src/date.c
@@ -245,7 +245,7 @@ then an optional modifier, which is either\n\
E to use the locale's alternate representations if available, or\n\
O to use the locale's alternate numeric symbols if available.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/dd.c b/src/dd.c
index 27a4a08c4..61143c9a3 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -507,7 +507,7 @@ Options are:\n\
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/df.c b/src/df.c
index 609787eea..f5e0f1a19 100644
--- a/src/df.c
+++ b/src/df.c
@@ -772,7 +772,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
SIZE may be (or may be an integer optionally followed by) one of following:\n\
kB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/dircolors.c b/src/dircolors.c
index 82eb1e088..51f036d7f 100644
--- a/src/dircolors.c
+++ b/src/dircolors.c
@@ -116,7 +116,7 @@ If FILE is specified, read it to determine which colors to use for which\n\
file types and extensions. Otherwise, a precompiled database is used.\n\
For details on the format of these files, run `dircolors --print-database'.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
diff --git a/src/dirname.c b/src/dirname.c
index 2253391ce..bc2b0f362 100644
--- a/src/dirname.c
+++ b/src/dirname.c
@@ -64,7 +64,7 @@ Examples:\n\
%s stdio.h Output \".\".\n\
"),
program_name, program_name);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/du.c b/src/du.c
index 206d31842..3fc2c900b 100644
--- a/src/du.c
+++ b/src/du.c
@@ -344,7 +344,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
SIZE may be (or may be an integer optionally followed by) one of following:\n\
kB 1000, K 1024, MB 1000*1000, M 1024*1024, and so on for G, T, P, E, Z, Y.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/echo.c b/src/echo.c
index 5f8582cc0..fe55cddff 100644
--- a/src/echo.c
+++ b/src/echo.c
@@ -95,7 +95,7 @@ If -e is in effect, the following sequences are recognized:\n\
\\v vertical tab\n\
"), stdout);
printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/env.c b/src/env.c
index d95ebfd7e..355589804 100644
--- a/src/env.c
+++ b/src/env.c
@@ -130,7 +130,7 @@ Set each NAME to VALUE in the environment and run COMMAND.\n\
\n\
A mere - implies -i. If no COMMAND, print the resulting environment.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/expand.c b/src/expand.c
index 564520376..42739bd65 100644
--- a/src/expand.c
+++ b/src/expand.c
@@ -129,7 +129,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/expr.c b/src/expr.c
index 352c80cc6..57c259144 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -163,7 +163,7 @@ Pattern matches return the string matched between \\( and \\) or null; if\n\
Exit status is 0 if EXPRESSION is neither null nor 0, 1 if EXPRESSION is null\n\
or 0, 2 if EXPRESSION is syntactically invalid, and 3 if an error occurred.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/factor.c b/src/factor.c
index dc8f1cc87..5ebe15484 100644
--- a/src/factor.c
+++ b/src/factor.c
@@ -87,7 +87,7 @@ Print the prime factors of each NUMBER.\n\
Print the prime factors of all specified integer NUMBERs. If no arguments\n\
are specified on the command line, they are read from standard input.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/fmt.c b/src/fmt.c
index 5ccc8c44a..63dac8854 100644
--- a/src/fmt.c
+++ b/src/fmt.c
@@ -297,7 +297,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
\n\
With no FILE, or when FILE is -, read standard input.\n"),
stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/fold.c b/src/fold.c
index 0d4ea5860..84b6eac7f 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -86,7 +86,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/head.c b/src/head.c
index 4038722b0..9d830644c 100644
--- a/src/head.c
+++ b/src/head.c
@@ -137,7 +137,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
\n\
N may have a multiplier suffix: b 512, k 1024, m 1024*1024.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/hostid.c b/src/hostid.c
index 090b8a04c..edd9e3ddc 100644
--- a/src/hostid.c
+++ b/src/hostid.c
@@ -54,7 +54,7 @@ Print the numeric identifier (in hexadecimal) for the current host.\n\
program_name, program_name);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/hostname.c b/src/hostname.c
index f6748a66d..a2666bad5 100644
--- a/src/hostname.c
+++ b/src/hostname.c
@@ -71,7 +71,7 @@ Print or set the hostname of the current system.\n\
program_name, program_name);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/id.c b/src/id.c
index 7abb3e50c..7ed7167ee 100644
--- a/src/id.c
+++ b/src/id.c
@@ -92,7 +92,7 @@ Print information for USERNAME, or the current user.\n\
\n\
Without any OPTION, print some useful set of identified information.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/install.c b/src/install.c
index 04577518c..6f85a24f4 100644
--- a/src/install.c
+++ b/src/install.c
@@ -702,7 +702,7 @@ the VERSION_CONTROL environment variable. Here are the values:\n\
existing, nil numbered if numbered backups exist, simple otherwise\n\
simple, never always make simple backups\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/join.c b/src/join.c
index b113c543b..c06213c4f 100644
--- a/src/join.c
+++ b/src/join.c
@@ -169,7 +169,7 @@ separated by CHAR.\n\
Important: FILE1 and FILE2 must be sorted on the join fields.\n\
E.g., use `sort -k 1b,1' if `join' has no options.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/kill.c b/src/kill.c
index c59025fa0..0c7ac1242 100644
--- a/src/kill.c
+++ b/src/kill.c
@@ -114,7 +114,7 @@ or an exit status of a process terminated by a signal.\n\
PID is an integer; if negative it identifies a process group.\n\
"), stdout);
printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/link.c b/src/link.c
index 277cf2352..9e1f33970 100644
--- a/src/link.c
+++ b/src/link.c
@@ -55,7 +55,7 @@ Usage: %s FILE1 FILE2\n\
stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/ln.c b/src/ln.c
index fae370807..2e9bfcf40 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -375,7 +375,7 @@ the VERSION_CONTROL environment variable. Here are the values:\n\
existing, nil numbered if numbered backups exist, simple otherwise\n\
simple, never always make simple backups\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/logname.c b/src/logname.c
index dc8296716..422bc657c 100644
--- a/src/logname.c
+++ b/src/logname.c
@@ -48,7 +48,7 @@ Print the name of the current user.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/ls.c b/src/ls.c
index 3d4890080..77abf67be 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -4424,7 +4424,7 @@ colors, and can be set easily by the dircolors command.\n\
\n\
Exit status is 0 if OK, 1 if minor problems, 2 if serious trouble.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/md5sum.c b/src/md5sum.c
index a8ce1cf27..f637bae39 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -191,7 +191,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"),
DIGEST_REFERENCE);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
diff --git a/src/mkdir.c b/src/mkdir.c
index 6fa0ac21d..0db72415e 100644
--- a/src/mkdir.c
+++ b/src/mkdir.c
@@ -71,7 +71,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/mkfifo.c b/src/mkfifo.c
index d329b79b8..bd006c441 100644
--- a/src/mkfifo.c
+++ b/src/mkfifo.c
@@ -64,7 +64,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/mknod.c b/src/mknod.c
index 43a1b9dcc..955f34507 100644
--- a/src/mknod.c
+++ b/src/mknod.c
@@ -79,7 +79,7 @@ otherwise, as decimal. TYPE may be:\n\
c, u create a character (unbuffered) special file\n\
p create a FIFO\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/mv.c b/src/mv.c
index 1d1dddab8..2ca60d08e 100644
--- a/src/mv.c
+++ b/src/mv.c
@@ -328,7 +328,7 @@ the VERSION_CONTROL environment variable. Here are the values:\n\
existing, nil numbered if numbered backups exist, simple otherwise\n\
simple, never always make simple backups\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/nice.c b/src/nice.c
index 19b38bc34..8b6f4d814 100644
--- a/src/nice.c
+++ b/src/nice.c
@@ -85,7 +85,7 @@ With no COMMAND, print the current niceness. Nicenesses range from\n\
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/nl.c b/src/nl.c
index 04c81183a..39f27b841 100644
--- a/src/nl.c
+++ b/src/nl.c
@@ -226,7 +226,7 @@ FORMAT is one of:\n\
rz right justified, leading zeros\n\
\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/nohup.c b/src/nohup.c
index 1f8e62bc4..dd64410b3 100644
--- a/src/nohup.c
+++ b/src/nohup.c
@@ -67,7 +67,7 @@ Run COMMAND, ignoring hangup signals.\n\
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/od.c b/src/od.c
index 706a46925..1ae783420 100644
--- a/src/od.c
+++ b/src/od.c
@@ -392,7 +392,7 @@ of output. \
--string without a number implies 3. --width without a number\n\
implies 32. By default, od uses -A o -t d2 -w16.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/paste.c b/src/paste.c
index 414fb8830..808744818 100644
--- a/src/paste.c
+++ b/src/paste.c
@@ -434,7 +434,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. */
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/pathchk.c b/src/pathchk.c
index 748ae6432..5e98d5a85 100644
--- a/src/pathchk.c
+++ b/src/pathchk.c
@@ -105,7 +105,7 @@ Diagnose unportable constructs in NAME.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/pinky.c b/src/pinky.c
index 885012b3d..ccc5d72e8 100644
--- a/src/pinky.c
+++ b/src/pinky.c
@@ -530,7 +530,7 @@ usage (int status)
A lightweight `finger' program; print user information.\n\
The utmp file will be %s.\n\
"), UTMP_FILE);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/pr.c b/src/pr.c
index e0aea224e..0b1aa4606 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -2872,7 +2872,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);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/printenv.c b/src/printenv.c
index e06b704e2..3412f45f5 100644
--- a/src/printenv.c
+++ b/src/printenv.c
@@ -68,7 +68,7 @@ If no environment VARIABLE specified, print them all.\n\
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/printf.c b/src/printf.c
index 6205153bd..61c22bf9c 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -135,7 +135,7 @@ and all C format specifications ending with one of diouxXfeEgGcs, with\n\
ARGUMENTs converted to proper type first. Variable widths are handled.\n\
"), stdout);
printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/ptx.c b/src/ptx.c
index 9c35596fc..ecf126cc6 100644
--- a/src/ptx.c
+++ b/src/ptx.c
@@ -1922,7 +1922,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
\n\
With no FILE or if FILE is -, read Standard Input. `-F /' by default.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/pwd.c b/src/pwd.c
index 4f16b738e..73ee66e19 100644
--- a/src/pwd.c
+++ b/src/pwd.c
@@ -59,7 +59,7 @@ Print the full filename of the current working directory.\n\
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/readlink.c b/src/readlink.c
index 121c7ffcf..0961d235c 100644
--- a/src/readlink.c
+++ b/src/readlink.c
@@ -86,7 +86,7 @@ usage (int status)
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/rm.c b/src/rm.c
index 81f81ec7f..77ffbefcb 100644
--- a/src/rm.c
+++ b/src/rm.c
@@ -204,7 +204,7 @@ Note that if you use rm to remove a file, it is usually possible to recover\n\
the contents of that file. If you want more assurance that the contents are\n\
truly unrecoverable, consider using shred.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/rmdir.c b/src/rmdir.c
index 39063b4c7..5dd5a35a6 100644
--- a/src/rmdir.c
+++ b/src/rmdir.c
@@ -152,7 +152,7 @@ Remove the DIRECTORY(ies), if they are empty.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/seq.c b/src/seq.c
index 59dd318d4..c59c6b527 100644
--- a/src/seq.c
+++ b/src/seq.c
@@ -98,7 +98,7 @@ FORMAT must be suitable for printing one argument of type `double';\n\
it defaults to %.PRECf if FIRST, INCREMENT, and LAST are all fixed point\n\
decimal numbers with maximum precision PREC, and to %g otherwise.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/setuidgid.c b/src/setuidgid.c
index 3a51225dc..27c4c7991 100644
--- a/src/setuidgid.c
+++ b/src/setuidgid.c
@@ -64,7 +64,7 @@ This program is useful only when run by root (user ID zero).\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/shred.c b/src/shred.c
index 23a4944b0..fc6ad67f1 100644
--- a/src/shred.c
+++ b/src/shred.c
@@ -236,7 +236,7 @@ In addition, file system backups and remote mirrors may contain copies\n\
of the file that cannot be removed, and that will allow a shredded file\n\
to be recovered later.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/shuf.c b/src/shuf.c
index bfc9f30a2..a40c88dd7 100644
--- a/src/shuf.c
+++ b/src/shuf.c
@@ -75,7 +75,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
\n\
With no FILE, or when FILE is -, read standard input.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
diff --git a/src/sleep.c b/src/sleep.c
index 730b19d17..53bad0223 100644
--- a/src/sleep.c
+++ b/src/sleep.c
@@ -57,7 +57,7 @@ specified by the sum of their values.\n\
program_name, program_name);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/sort.c b/src/sort.c
index 58ca66a2e..ff021aa92 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -380,7 +380,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 );
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
diff --git a/src/split.c b/src/split.c
index 1f0f3d727..2fc6ecfcf 100644
--- a/src/split.c
+++ b/src/split.c
@@ -133,7 +133,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);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/stat.c b/src/stat.c
index ca8423677..29a222ac5 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -903,7 +903,7 @@ Valid format sequences for file systems:\n\
%T Type in human readable form\n\
"), stdout);
printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/stty.c b/src/stty.c
index 86a4bab45..ce0cb0cae 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -720,7 +720,7 @@ prints baud rate, line discipline, and deviations from stty sane. In\n\
settings, CHAR is taken literally, or coded as in ^c, 0x37, 0177 or\n\
127; special values ^- or undef used to disable special characters.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/su.c b/src/su.c
index 70828b8fd..532361608 100644
--- a/src/su.c
+++ b/src/su.c
@@ -399,7 +399,7 @@ Change the effective user id and group id to that of USER.\n\
\n\
A mere - implies -l. If USER not given, assume root.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/sum.c b/src/sum.c
index 92e412688..90bc50172 100644
--- a/src/sum.c
+++ b/src/sum.c
@@ -72,7 +72,7 @@ Print checksum and block counts for each FILE.\n\
\n\
With no FILE, or when FILE is -, read standard input.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/sync.c b/src/sync.c
index 5e94afbdd..ce3fc0531 100644
--- a/src/sync.c
+++ b/src/sync.c
@@ -49,7 +49,7 @@ Force changed blocks to disk, update the super block.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/system.h b/src/system.h
index 763909bac..e72e4811b 100644
--- a/src/system.h
+++ b/src/system.h
@@ -581,3 +581,13 @@ ptr_align (void const *ptr, size_t alignment)
|| (Type) ((Accum) * 10 + (Digit_val)) < (Accum)) \
? false : (((Accum) = (Accum) * 10 + (Digit_val)), true)) \
)
+
+static inline void
+emit_bug_reporting_address (void)
+{
+ /* TRANSLATORS: The placeholder indicates the bug-reporting address
+ for this package. Please add _another line_ saying
+ "Report translation bugs to <...>\n" with the address for translation
+ bugs (typically your translation team's web or email address). */
+ printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+}
diff --git a/src/tac.c b/src/tac.c
index dc166aaa3..e03ac6bc1 100644
--- a/src/tac.c
+++ b/src/tac.c
@@ -149,7 +149,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/tail.c b/src/tail.c
index 2582b9d69..210a68178 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -282,7 +282,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);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/tee.c b/src/tee.c
index d21edbc04..7e423b21c 100644
--- a/src/tee.c
+++ b/src/tee.c
@@ -72,7 +72,7 @@ Copy standard input to each FILE, and also to standard output.\n\
\n\
If a FILE is -, copy again to standard output.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/test.c b/src/test.c
index b25436b1f..fcb68ef37 100644
--- a/src/test.c
+++ b/src/test.c
@@ -774,7 +774,7 @@ Beware that parentheses need to be escaped (e.g., by backslashes) for shells.\n\
INTEGER may also be -l STRING, which evaluates to the length of STRING.\n\
"), stdout);
printf (USAGE_BUILTIN_WARNING, _("test and/or ["));
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/touch.c b/src/touch.c
index a79c26d97..cb54f4828 100644
--- a/src/touch.c
+++ b/src/touch.c
@@ -260,7 +260,7 @@ Note that the -d and -t options accept different time-date formats.\n\
\n\
If a FILE is -, touch standard output.\n\
"), stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/tr.c b/src/tr.c
index 214eb2bc9..d4453f4da 100644
--- a/src/tr.c
+++ b/src/tr.c
@@ -356,7 +356,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);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/true.c b/src/true.c
index 55490f90e..be20ed6d0 100644
--- a/src/true.c
+++ b/src/true.c
@@ -51,7 +51,7 @@ Usage: %s [ignored command line arguments]\n\
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
exit (status);
}
diff --git a/src/tsort.c b/src/tsort.c
index 939323213..cfb12acb6 100644
--- a/src/tsort.c
+++ b/src/tsort.c
@@ -91,7 +91,7 @@ With no FILE, or when FILE is -, read standard input.\n\
"), program_name);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
diff --git a/src/tty.c b/src/tty.c
index 5228e7aae..c1c876132 100644
--- a/src/tty.c
+++ b/src/tty.c
@@ -74,7 +74,7 @@ Print the file name of the terminal connected to standard input.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/uname.c b/src/uname.c
index 0715e07cd..7389d422e 100644
--- a/src/uname.c
+++ b/src/uname.c
@@ -133,7 +133,7 @@ Print certain system information. With no OPTION, same as -s.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/unexpand.c b/src/unexpand.c
index cbceca0f4..051fe72e4 100644
--- a/src/unexpand.c
+++ b/src/unexpand.c
@@ -138,7 +138,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/uniq.c b/src/uniq.c
index 6c38ed807..ac0840b03 100644
--- a/src/uniq.c
+++ b/src/uniq.c
@@ -167,7 +167,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);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/unlink.c b/src/unlink.c
index 725507649..beef5a5a9 100644
--- a/src/unlink.c
+++ b/src/unlink.c
@@ -54,7 +54,7 @@ Usage: %s FILE\n\
stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/uptime.c b/src/uptime.c
index 6b2a7240a..c7bd7a453 100644
--- a/src/uptime.c
+++ b/src/uptime.c
@@ -205,7 +205,7 @@ If FILE is not specified, use %s. %s as FILE is common.\n\
UTMP_FILE, WTMP_FILE);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/users.c b/src/users.c
index dba470113..8071acd92 100644
--- a/src/users.c
+++ b/src/users.c
@@ -114,7 +114,7 @@ If FILE is not specified, use %s. %s as FILE is common.\n\
UTMP_FILE, WTMP_FILE);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/wc.c b/src/wc.c
index 332f32dc4..85f7d33a9 100644
--- a/src/wc.c
+++ b/src/wc.c
@@ -126,7 +126,7 @@ read standard input.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/who.c b/src/who.c
index a99a8cd68..b08c62318 100644
--- a/src/who.c
+++ b/src/who.c
@@ -664,7 +664,7 @@ usage (int status)
If FILE is not specified, use %s. %s as FILE is common.\n\
If ARG1 ARG2 given, -m presumed: `am i' or `mom likes' are usual.\n\
"), UTMP_FILE, WTMP_FILE);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/whoami.c b/src/whoami.c
index c4a2b5e82..d1167164b 100644
--- a/src/whoami.c
+++ b/src/whoami.c
@@ -55,7 +55,7 @@ Same as id -un.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}
diff --git a/src/yes.c b/src/yes.c
index 4f09f68f9..f81fd8339 100644
--- a/src/yes.c
+++ b/src/yes.c
@@ -55,7 +55,7 @@ Repeatedly output a line with all specified STRING(s), or `y'.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
- printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
+ emit_bug_reporting_address ();
}
exit (status);
}