]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: mention the texinfo documentation in --help
authorPádraig Brady <P@draigBrady.com>
Fri, 18 Sep 2009 22:06:21 +0000 (23:06 +0100)
committerPádraig Brady <P@draigBrady.com>
Mon, 21 Sep 2009 11:37:57 +0000 (12:37 +0100)
* src/system.h: Rename emit_bug_reporting_address() to
emit_ancillary_info() and update it to not print the translation
project address in en_* locales, and _do_ print it in the 'C'
(and other) locales so that it's included in the default man page.
Also mention how to invoke the texinfo documentation for each command.
Also move the "hard-locale.h" include to the 8 files that now use it.
* man/help2man: Strip the newly added texinfo reference from the
--help output as a more verbose version is already added by help2man.
Suggestion from C de-Avillez

97 files changed:
man/help2man
src/base64.c
src/basename.c
src/cat.c
src/chcon.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/getlimits.c
src/groups.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/mktemp.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/runcon.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/stdbuf.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/timeout.c
src/touch.c
src/tr.c
src/true.c
src/truncate.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

index 7b7ce7a4b0fa1a604f5be1232d66349b518aa26a..3b19c6402c08faf5f614fd1e09a7ee32a44798a7 100755 (executable)
@@ -373,6 +373,7 @@ my $PAT_AUTHOR              = _('Written +by');
 my $PAT_OPTIONS                = _('Options');
 my $PAT_EXAMPLES       = _('Examples');
 my $PAT_FREE_SOFTWARE  = _('This +is +free +software');
+my $PAT_INFO           = _('For +complete +documentation');
 
 # Start a new paragraph (if required) for these.
 s/([^\n])\n($PAT_BUGS|$PAT_AUTHOR)/$1\n\n$2/og;
@@ -392,6 +393,11 @@ while (length)
        $sect = _('EXAMPLES');
        next;
     }
+    # Skip any texinfo reference as that's handled separately
+    if (s/($PAT_INFO).*\n//o)
+    {
+       next;
+    }
 
     # Copyright section
     if (/^Copyright +[(\xa9]/)
index c7cf034da43e5c78962baa8f670452d82c638638..0bca87ce4923b3cd74b4cfc9629f051b5bb4d033 100644 (file)
@@ -81,7 +81,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
 
   exit (status);
index 4300d49836c093323a2b1c301dfce90d51aee71c..3e6d93233a976873f87f0a21f79ba4940ebf2038 100644 (file)
@@ -66,7 +66,7 @@ Examples:\n\
   %s include/stdio.h .h  Output \"stdio\".\n\
 "),
               program_name, program_name);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 41b2637f21e30da9cdbeb88a38712e9a55952d84..d93968198f4f0a46220439cef91e0318f8fe2eed 100644 (file)
--- a/src/cat.c
+++ b/src/cat.c
@@ -119,7 +119,7 @@ Examples:\n\
   %s        Copy standard input to standard output.\n\
 "),
               program_name, program_name);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 7e8250d3dac26d792d089a3845b5a14bc18bc157..fb68402ce60f060b92a510aaad9e19a8aab25b22 100644 (file)
@@ -380,7 +380,7 @@ one takes effect.\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 0102ef0981ca7959ccfa7066aae2de26fca95941..71582b5096b353447f5c16d24be963e980960d4d 100644 (file)
@@ -158,7 +158,7 @@ Examples:\n\
   %s -hR staff /u  Change the group of /u and subfiles to \"staff\".\n\
 "),
               program_name, program_name);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 282eadaffbf5fd99a9faa4a97b953c9701f11f4e..e6f2b0b642ad17828dd6aa4714b5f5b1e37b2ff8 100644 (file)
@@ -379,7 +379,7 @@ Change the mode of each FILE to MODE.\n\
 \n\
 Each MODE is of the form `[ugoa]*([-+=]([rwxXst]*|[ugo]))+'.\n\
 "), stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 35488d90e8c0acaadb564e14030c4e673348fb31..12df06117a6aa4a14f767ff8e1140051a1d6cd2f 100644 (file)
@@ -153,7 +153,7 @@ Examples:\n\
   %s -hR root /u    Change the owner of /u and subfiles to \"root\".\n\
 "),
               program_name, program_name, program_name);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 3fa26f8da7246c3a3e0559f9830777da279e2838..5e8cb9c6a745e0303294fb92d8cd871ceed51623 100644 (file)
@@ -142,7 +142,7 @@ Run COMMAND with root directory set to NEWROOT.\n\
 \n\
 If no command is given, run ``${SHELL} -i'' (default: /bin/sh).\n\
 "), stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 25cdb4789bc12ef5b2b076607e36a41af7f4aaf2..f847d0ebefbb6f0c57a762bcc1724c10384b80f9 100644 (file)
@@ -269,7 +269,7 @@ Print CRC checksum and byte counts of each FILE.\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 63b6b0c2698aa8f0bc7295f238c9230b611c8331..e9a66b49cf6ff8aa120033306bd440b4d934b7c4 100644 (file)
@@ -23,6 +23,7 @@
 #include "system.h"
 #include "linebuffer.h"
 #include "error.h"
+#include "hard-locale.h"
 #include "quote.h"
 #include "stdio--.h"
 #include "memcmp2.h"
@@ -140,7 +141,7 @@ Examples:\n\
   %s -3  file1 file2  Print lines in file1 not in file2, and vice versa.\n\
 "),
               program_name, program_name);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 2ba1dbf09a4cc3c98286c50b60fc55f58156b117..4b5934eb5e097874eb55edc408f3f432f2ee47b8 100644 (file)
--- a/src/cp.c
+++ b/src/cp.c
@@ -257,7 +257,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index ba93d2b593329da528cdd60a0c1e851204a6f63c..8cc06b6ee040b3178c892ba23e939f21951becea 100644 (file)
@@ -1481,7 +1481,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 448e7ed7a03f4731a5fc253169a8710db9f0eb05..119fb57bc945c743209c40586870be8a778d3413 100644 (file)
--- a/src/cut.c
+++ b/src/cut.c
@@ -235,7 +235,7 @@ Each range is one of:\n\
 \n\
 With no FILE, or when FILE is -, read standard input.\n\
 "), stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index cbc53e6a510179cde7a1b19a85a48ffc5db000e2..75cf092b738401ab0ed6baa8bcf7c2baf2982621 100644 (file)
@@ -236,7 +236,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 76a31e981678874c01eca280e45387beaca2765d..6f5e826f72b33d5bd9e37f0d76fb5c5c3a642224 100644 (file)
--- a/src/dd.c
+++ b/src/dd.c
@@ -575,7 +575,7 @@ Options are:\n\
 
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 6cda35e75c3362cc90da969b68be64d81f2cdc51..aef7b2d54adc3d7690d1951a0e1cbad957796303 100644 (file)
--- a/src/df.c
+++ b/src/df.c
@@ -835,7 +835,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
       emit_blocksize_note ("DF");
       emit_size_note ();
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index b724155921b157978ba93179dce0d6cd81edd9b3..f28487ea364a6b859a89a1c0867b31e21b4e2994 100644 (file)
@@ -112,7 +112,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
 
   exit (status);
index 53d0bdc7d9ddd844fc62d46d18c6fccbd288ddcf..f4723341561863d1112cf3c03bd37cd1a61fc2b8 100644 (file)
@@ -61,7 +61,7 @@ Examples:\n\
   %s stdio.h        Output \".\".\n\
 "),
               program_name, program_name);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 321d30feb4640a41571f6147df79f3277a42bff8..de0cdbdd5b5ee39045ce290d267aea7d915a8d25 100644 (file)
--- a/src/du.c
+++ b/src/du.c
@@ -332,7 +332,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
       emit_blocksize_note ("DU");
       emit_size_note ();
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 210352ca778c51b15a3602ad9eb73e28816315e7..90b978646192429097c6f8c217ac55d9a2746c08 100644 (file)
@@ -77,7 +77,7 @@ If -e is in effect, the following sequences are recognized:\n\
   \\v     vertical tab\n\
 "), stdout);
       printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index c22981ba3fee3bf1121ef3ab463df79a09f83fd9..90edc5a3364651a5d69afb131aa26f5fa0f073ac 100644 (file)
--- a/src/env.c
+++ b/src/env.c
@@ -125,7 +125,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index c8648335a395455171d84424e4db7188be1a0a66..074f7789cdd8a8dd201b1ac2f241f00d380283c4 100644 (file)
@@ -121,7 +121,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 11bf7ed4772c8864599354d5d49ebef7c27a77b0..aab09a1f1e1c64c87ed77e2a5a7bd216fdca4dbf 100644 (file)
@@ -265,7 +265,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index fc78356945b24b42c3bd2545fd0c33b1315f0eac..f48a720842b3778ea5ca4271fb1e26ddc86e7c53 100644 (file)
@@ -502,7 +502,7 @@ are specified on the command line, read them from standard input.\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index c12072c58e2683ca59db02d7e79dc92e3252694e..81a708e193e4c468d1be13b4598b2c7928cef798 100644 (file)
--- a/src/fmt.c
+++ b/src/fmt.c
@@ -293,7 +293,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 52322657ad7f44940e5a129a927403da9d5921a6..df771711cea9a822e6975f4085ee616a4dd3a628 100644 (file)
@@ -82,7 +82,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 82cd34531e7b3084a5403401ce00a58d14c5d659..a4e1d9b108b6f3c689c782a405b8337b54e2e3e6 100644 (file)
@@ -73,7 +73,7 @@ Output platform dependent limits in a format useful for shell scripts.\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 27e87240660f99c1f9bc8d774a611f7974743729..f522ac4c4a6cf88031418b333cf1be08fe96b003 100644 (file)
@@ -58,7 +58,7 @@ the current process (which may differ if the groups database has changed).\n"),
              stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index f0143880973a9c7db69581fde262cdc1d96d4730..9080168bc0542f37a2c901044418dbafda7010d1 100644 (file)
@@ -138,7 +138,7 @@ K may have a multiplier suffix:\n\
 b 512, kB 1000, K 1024, MB 1000*1000, M 1024*1024,\n\
 GB 1000*1000*1000, G 1024*1024*1024, and so on for T, P, E, Z, Y.\n\
 "), stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 7c93f2e768e8cbd18604d2e3efcf4dd37bfe413b..2b606a7ca95d91a80b07fc312d3e8942a6172cea 100644 (file)
@@ -48,7 +48,7 @@ Print the numeric identifier (in hexadecimal) for the current host.\n\
 "), program_name);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 110014b3fc7fc6b292447dd4c16cae71f0e8f544..9726bd5f19a8541118e52789eb7c2fbb946c3fb6 100644 (file)
@@ -63,7 +63,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index ec255e2f86e956b73416dc7dc5a675398883e798..1016ec3a62052f815ce20095f2e2db1512aaf489 100644 (file)
--- a/src/id.c
+++ b/src/id.c
@@ -98,7 +98,7 @@ or (when USERNAME omitted) for the current user.\n\
 \n\
 Without any OPTION, print some useful set of identified information.\n\
 "), stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index fafa21a3cf414cb93139043a6eb5e2417e5fc009..03cb9ed7ac9df4552b2c77a06955f6d06f5abd33 100644 (file)
@@ -1005,7 +1005,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 73e1f37bb4493fe233035aa5d22e065c23be85c7..d734a91ea2995b1e9da9af3f46653ab21a3742b9 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "system.h"
 #include "error.h"
+#include "hard-locale.h"
 #include "linebuffer.h"
 #include "memcasecmp.h"
 #include "quote.h"
@@ -208,7 +209,7 @@ Note, comparisons honor the rules specified by `LC_COLLATE'.\n\
 If the input is not sorted and some lines cannot be joined, a\n\
 warning message will be given.\n\
 "), stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 3429cb19d041412fd4333de5693a4d90c7eedddc..bff8c6c147ad5082eb5d3275126baa9b7b2fdc59 100644 (file)
@@ -111,7 +111,7 @@ or the 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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index ead3ac2f57283773f0de64ee1422c23adf45cb71..9e49a755b8aa917a7ff37b54cce1e95990606c4d 100644 (file)
@@ -51,7 +51,7 @@ Usage: %s FILE1 FILE2\n\
              stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 6a1dc32077bfa7642bb1e0e28a7eea5c13b7c2d5..0c35338f2eb6e3a193f3d7eb6034e7d0b159c5a1 100644 (file)
--- a/src/ln.c
+++ b/src/ln.c
@@ -397,7 +397,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 8abb535f0d7fc9c73a8fe7937102aee28eab387c..0a739cc501f9c748aecabf4d0354976a03e7f57d 100644 (file)
@@ -44,7 +44,7 @@ Print the name of the current user.\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index b62ea128c925baa730acca4d5ba9788466ec3fac..f0443cdd900e0a3ae846f100dd61ef57bca6de43 100644 (file)
--- a/src/ls.c
+++ b/src/ls.c
@@ -93,6 +93,7 @@
 #include "dev-ino.h"
 #include "error.h"
 #include "filenamecat.h"
+#include "hard-locale.h"
 #include "hash.h"
 #include "human.h"
 #include "filemode.h"
@@ -4681,7 +4682,7 @@ Exit status:\n\
  1  if minor problems (e.g., cannot access subdirectory),\n\
  2  if serious trouble (e.g., cannot access command-line argument).\n\
 "), stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index c8e01efb84696d8145ab10378ad6da5301432493..06a46bbcefd7664721e101ef2a59eb24eb9203fb 100644 (file)
@@ -195,7 +195,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
 
   exit (status);
index 4ae487593546f346d26471b3392dffb6459316bc..756cc4079cb67f20e88c0b4594b03c3cdf0fecf6 100644 (file)
@@ -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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 5ea3e3b829a6b5ce977c431bb58015c5e5b693ec..f3767e01521576d6d3467aa43aa3a790847f0254 100644 (file)
@@ -65,7 +65,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 94e4471ef28cf9e30810d25fa3f19ab04e0ab2e7..cf59c2bdd8da27ef1e87e7f6ce5706c9f4574cd2 100644 (file)
@@ -81,7 +81,7 @@ otherwise, as decimal.  TYPE may be:\n\
   p      create a FIFO\n\
 "), stdout);
       printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index d5a68cf478db24402c6959472e07ccc78c8cd0a6..808efa91480ec2fa6b5ed71bf192921eeceeacf4 100644 (file)
@@ -95,7 +95,7 @@ If TEMPLATE is not specified, use tmp.XXXXXXXXXX.\n\
       fputs ("\n", stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
 
   exit (status);
index 97e9dd4013b3b87a086b2c04c81c921ed26381b1..58dddda41bb0bd3b4e98052690cc48973f705084 100644 (file)
--- a/src/mv.c
+++ b/src/mv.c
@@ -330,7 +330,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 4a3c092122bb61d7b3d3dcbfc6e26e6828060ba2..6cd5f31333b30aa8565bf89a30574d77b41489bc 100644 (file)
@@ -81,7 +81,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 773740fa59cbae9df315a830a311a5e4e7c7534c..c3a26a52b1d2b72331a09e350774cf6e639c7aca 100644 (file)
--- a/src/nl.c
+++ b/src/nl.c
@@ -231,7 +231,7 @@ FORMAT is one of:\n\
   rz   right justified, leading zeros\n\
 \n\
 "), stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index f4b1b234239c9b57e091cc22efc3db73a79a3cb7..99bb86547c3998f5ec52977faf501e7bdfd8189b 100644 (file)
@@ -71,7 +71,7 @@ If standard error is a terminal, redirect it to standard output.\n\
 To save output to FILE, use `%s COMMAND > FILE'.\n"),
               program_name);
       printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 085d6406cf01c909a898ae134034de2ff1f6d583..2682857f3decd707d520fe25e2af75b7ba7e5800 100644 (file)
--- a/src/od.c
+++ b/src/od.c
@@ -394,7 +394,7 @@ output line.\n\
 Option --string without a number implies 3; option --width without a number\n\
 implies 32.  By default, od uses -A o -t oS -w16.\n\
 "), stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 730a28873297269022a84cf25f1e8512bd3941d9..c3293f7484957e221997a55b7f78722f38cf56f9 100644 (file)
@@ -450,7 +450,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.  */
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 04b70a38982be5b359986366b04b83edf459dcbd..cf7b8eb67259861d4f19f2ad330676442181b674 100644 (file)
@@ -104,7 +104,7 @@ Diagnose invalid or unportable file names.\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index f75002e1f056aef073e9f3dbfa7c7680e1650bb5..393a20bb4e7afa7dfd05f3b0ea372844aeefe0f2 100644 (file)
@@ -26,6 +26,7 @@
 
 #include "canon-host.h"
 #include "error.h"
+#include "hard-locale.h"
 #include "readutmp.h"
 
 /* The official name of this program (e.g., no `g' prefix).  */
@@ -526,7 +527,7 @@ usage (int status)
 A lightweight `finger' program;  print user information.\n\
 The utmp file will be %s.\n\
 "), UTMP_FILE);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index f584fdd30bda56a905d8fe7b678fad2e58ef528b..c1a66a9705ec3ec8773efdba8fa0180519abf4d3 100644 (file)
--- a/src/pr.c
+++ b/src/pr.c
 #include <sys/types.h>
 #include "system.h"
 #include "error.h"
+#include "hard-locale.h"
 #include "mbswidth.h"
 #include "quote.h"
 #include "stat-time.h"
@@ -2870,7 +2871,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
 -t is implied if PAGE_LENGTH <= 10.  With no FILE, or when\n\
 FILE is -, read standard input.\n\
 "), stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 69e2a6639b7dab659657cd313015de193162c736..8185da6f8b62471e9a0bda4af193184847534306 100644 (file)
@@ -66,7 +66,7 @@ If no VARIABLE is specified, print name and value pairs for them all.\n\
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
       printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 5fa25dee8238b61794868f216dfcac4427bafe9d..f6f86a5735ea631d23d8bcbcc472e98c69675ba9 100644 (file)
@@ -130,7 +130,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 806908eeeb5b1a1202b14e0f260fbafdd7a49c71..49cbe89c985e284209a39700e058b54bd2b3ba8c 100644 (file)
--- a/src/ptx.c
+++ b/src/ptx.c
@@ -1923,7 +1923,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index b74ba4707102cc8de8c95fbbcf2fed39ba5b58f3..cfbf5b733fe34aa665f1280a29637bdaf231790c 100644 (file)
--- a/src/pwd.c
+++ b/src/pwd.c
@@ -66,7 +66,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index a6f42f5c0e7fe798513abfb9be043cad2d817ec5..7e98126029863aa606c5ec57a6bff0ef6dd89dbd 100644 (file)
@@ -82,7 +82,7 @@ usage (int status)
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 6c3255198632ccf97de66b93f5ff32d9b87ee571..64e095d9e412e597df09b7d8d025561441720dd9 100644 (file)
--- a/src/rm.c
+++ b/src/rm.c
@@ -180,7 +180,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 826cebcfa40570d0bd616387e75f8cda69acd368..899964c2ead8eae88a1dcac706deebf54f2e0645 100644 (file)
@@ -177,7 +177,7 @@ Remove the DIRECTORY(ies), if they are empty.\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 7bf256821ddcdab4ed400de2fc7100c65f0e286a..e0019da2a8dbba9172fafb14aca488f795c61e66 100644 (file)
@@ -99,7 +99,7 @@ With neither CONTEXT nor COMMAND, print the current security context.\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index ef777bcfda4ac84b3c346f647efa0ca3842da007..b82a3c7289d61e32d96621477f0f907cfc0e64aa 100644 (file)
--- a/src/seq.c
+++ b/src/seq.c
@@ -94,7 +94,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 43aa16480f65b64289d5c60da3df3c75f06866ce..7176b1ae734ed7fc65e792ad7e80b0d1a13cc683 100644 (file)
@@ -67,7 +67,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 2f3178993fba3ee85648cb3e6a5356511859b23a..fdf098ac4ce3fee529d82e3c96f1c0b95e1e8bb7 100644 (file)
@@ -229,7 +229,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 0e61e32dd633da336d63d95134a8525a555f1386..0bb11abc1641b3882c1cbc5e20e2cc718651ae13 100644 (file)
@@ -71,7 +71,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
 
   exit (status);
index 4c203e621458bb94de4e8c178e55fb142b81dfa4..64e237b1d3206137412afaf89a6ed11088013cb0 100644 (file)
@@ -56,7 +56,7 @@ specified by the sum of their values.\n\
               program_name, program_name);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index b9ae19883cb8e71fbd7470870bcc2c48b4015ae6..57ee145a2ab71b21a2f29996be5e310b3a194217 100644 (file)
@@ -30,6 +30,7 @@
 #include "argmatch.h"
 #include "error.h"
 #include "filevercmp.h"
+#include "hard-locale.h"
 #include "hash.h"
 #include "md5.h"
 #include "physmem.h"
@@ -414,7 +415,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 );
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
 
   exit (status);
index e02f7433a49756ca31ae4f8f0d17ddd91b138b1d..d1a0e0d54c5101670fe2d6d150fa3b569ef09321 100644 (file)
@@ -127,7 +127,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
       emit_size_note ();
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 3302270279606e986e0cba9e53e6a4ea5ac7d42a..7d42598f16b92e0f9e521f31d0e834148767f7df 100644 (file)
@@ -983,7 +983,7 @@ Valid format sequences for file systems:\n\
   %T   Type in human readable form\n\
 "), stdout);
       printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 007cc21946ff11a95e79e4c7075d663999ed94e2..afb7821f7f9642a315b3bbd6864a6dee4176093f 100644 (file)
@@ -125,7 +125,7 @@ for e.g.) then that will override corresponding settings changed by `stdbuf'.\n\
 Also some filters (like `dd' and `cat' etc.) don't use streams for I/O,\n\
 and are thus unaffected by `stdbuf' settings.\n\
 "), stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 7b25b0bf8f9f091841d47b61bdadcb629c464cf6..2f34fcc0aabadb62835decadbd0fd13f6f6a8ccf 100644 (file)
@@ -724,7 +724,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index ec9c6001cad1788f68ede565b806a2cf069ecb5e..ec50a3b5a0bc7cfd764480e46b0edd621183d773 100644 (file)
--- a/src/su.c
+++ b/src/su.c
@@ -395,7 +395,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index e53bad2ca61bd3ce59b3ec861105a8d0a12a10ca..91d7f34ba7832bda1ebb85bb11b8e9bea13f769e 100644 (file)
--- 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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 593071347b8af346a098ba485f0b1569e699c0ae..543cbde9be902c803ae2ee3385ecf37ccdc59ba3 100644 (file)
@@ -45,7 +45,7 @@ Force changed blocks to disk, update the super block.\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index a15c298b8b345f64c5a561a0989c13805c99a500..ce7114891bbb796b418597789a605e7a8321615a 100644 (file)
@@ -635,9 +635,8 @@ Otherwise, units default to 1024 bytes (or 512 if POSIXLY_CORRECT is set).\n\
 "), program);
 }
 
-#include "hard-locale.h"
 static inline void
-emit_bug_reporting_address (void)
+emit_ancillary_info (void)
 {
   printf (_("\nReport %s bugs to %s\n"), last_component (program_name),
           PACKAGE_BUGREPORT);
@@ -646,8 +645,10 @@ emit_bug_reporting_address (void)
           PACKAGE_NAME, PACKAGE);
   fputs (_("General help using GNU software: <http://www.gnu.org/gethelp/>\n"),
          stdout);
-
-  if (hard_locale (LC_MESSAGES))
+  /* Don't output this redundant message for English locales.
+     Note we still output for 'C' so that it gets included in the man page.  */
+  const char *lc_messages = setlocale (LC_MESSAGES, NULL);
+  if (lc_messages && strncmp (lc_messages, "en_", 3))
     {
       /* TRANSLATORS: Replace LANG_CODE in this URL with your language code
          <http://translationproject.org/team/LANG_CODE.html> to form one of
@@ -657,6 +658,8 @@ emit_bug_reporting_address (void)
                 "<http://translationproject.org/team/>\n"),
                 last_component (program_name));
     }
+  printf (_("For complete documentation, run: "
+            "info coreutils '%s invocation'\n"), last_component (program_name));
 }
 
 #include "inttostr.h"
index e1f71945fb21c76a463e3d75d49645f23819f762..c6ba4e2f453866907bef6f01228fbe6a599d58c2 100644 (file)
--- 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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 81cbae037e23d284f0c01c40ffcdaadfa0e056c4..3eb27dbd29428b8fd2d98592210fb3456d83d62b 100644 (file)
@@ -317,7 +317,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 03a33b0602d46754278d0503873d9202d4daf088..b8996e6a5634c3066b6b79ab0e863d2c3da4bfa7 100644 (file)
--- 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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index f7c689cf9cbc16191077b96954e8d325696f8691..2b04e433efa3bd3d57838aed646ab65638397499 100644 (file)
@@ -770,7 +770,7 @@ NOTE: [ honors the --help and --version options, but test does not.\n\
 test treats each of those as it treats any other nonempty STRING.\n\
 "), stdout);
       printf (USAGE_BUILTIN_WARNING, _("test and/or ["));
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index e4b170445713118c764179a1c35dfed48ae82a4a..7069f2c1ab872d9abe74abe10d318c1103923a69 100644 (file)
@@ -158,7 +158,7 @@ with the status of COMMAND.  If no signal is specified, send the TERM\n\
 signal upon timeout.  The TERM signal kills any process that does not\n\
 block or catch that signal.  For other processes, it may be necessary to\n\
 use the KILL (9) signal, since this signal cannot be caught.\n"), stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index ed9847175c2e43d2077337d34c9bfc5e8f9c8d89..d7ae9b6baa38e04302f03f9c0148183ae4b40f4e 100644 (file)
@@ -263,7 +263,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
 \n\
 Note that the -d and -t options accept different time-date formats.\n\
 "), stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 0b985f801afe2245e128ec84cab7848a38baaa99..c5f18f98384e10ff871a4e4daac42270e96743d6 100644 (file)
--- a/src/tr.c
+++ b/src/tr.c
@@ -346,7 +346,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\
 "), stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 66d1e01116a2dbb6017dc2394f59a03fa20ff79d..f3e937f5a937f8b1ea075fd600e9ff52b240ec3a 100644 (file)
@@ -47,7 +47,7 @@ Usage: %s [ignored command line arguments]\n\
   fputs (HELP_OPTION_DESCRIPTION, stdout);
   fputs (VERSION_OPTION_DESCRIPTION, stdout);
   printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
-  emit_bug_reporting_address ();
+  emit_ancillary_info ();
   exit (status);
 }
 
index 77783794ea3fc9d678b9ab24b322a3be6ad60606..7f96483daf7a0fdb21035e6c615abf9ecc23986c 100644 (file)
@@ -133,7 +133,7 @@ SIZE may also be prefixed by one of the following modifying characters:\n\
 \n\
 Note that the -r and -s options are mutually exclusive.\n\
 "), stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index d74b620919ac494c30c3a0250206d0ee3e2de617..09067f2674a0d66e377d827599bdb39cfa0556a0 100644 (file)
@@ -87,7 +87,7 @@ With no FILE, or when FILE is -, read standard input.\n\
 "), program_name);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
 
   exit (status);
index cc15cfe4af69fd156a2909ef8dca2cc5d1a25ff8..37443d22c771d8bf7aa708e26c9a2128785b250b 100644 (file)
--- a/src/tty.c
+++ b/src/tty.c
@@ -70,7 +70,7 @@ Print the file name of the terminal connected to standard input.\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 63b3374e3997c8072d88d2ec33eccb77967396f2..adce750dca2502a20d80219072fe98496451df25 100644 (file)
@@ -150,7 +150,7 @@ Print machine architecture.\n\
 
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index bfe22964ea84a7ac3401581b378782caf6c8e5bc..ff969ee12d5a222e874697ac5b5935cacad97d85 100644 (file)
@@ -130,7 +130,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 13aaebccc3b6ce8d7c70454c2141ac90bb38d985..7509bfce9cd9b492673985ffcd95f19fa2874657 100644 (file)
@@ -26,6 +26,7 @@
 #include "argmatch.h"
 #include "linebuffer.h"
 #include "error.h"
+#include "hard-locale.h"
 #include "posixver.h"
 #include "quote.h"
 #include "xmemcoll.h"
@@ -174,7 +175,7 @@ Note: 'uniq' does not detect repeated lines unless they are adjacent.\n\
 You may want to sort the input first, or use `sort -u' without `uniq'.\n\
 Also, comparisons honor the rules specified by `LC_COLLATE'.\n\
 "), stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 47cbfb2e314f37209579abe6b92e1b2b7306358a..209d0b6da16416c83cd5a0555b2b6fd240ce14b3 100644 (file)
@@ -50,7 +50,7 @@ Usage: %s FILE\n\
              stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 175fe8f73b5cef4c25e2041a2dd9dec34fe0c98a..0449c6d56489fab8769932b03ae996404a120514 100644 (file)
@@ -216,7 +216,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index d5115c6911bea79ecb5807edb2062b1d1a4fa3b4..fd1cbaaeeb6fb08c514a1957b6c7d56584b7ea58 100644 (file)
@@ -112,7 +112,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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 0f7a368889749440b5109b70cd9df2f02178dacb..15a723acbe8933f641c11ce71aea0ad1bfd9875b 100644 (file)
--- a/src/wc.c
+++ b/src/wc.c
@@ -131,7 +131,7 @@ read standard input.\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index f162fab58a64e6002b00a480e6992d4d90f46519..0ac971031996e4266d41d89ec9914e279bb92bbc 100644 (file)
--- a/src/who.c
+++ b/src/who.c
@@ -34,6 +34,7 @@
 #include "canon-host.h"
 #include "readutmp.h"
 #include "error.h"
+#include "hard-locale.h"
 #include "quote.h"
 
 /* The official name of this program (e.g., no `g' prefix).  */
@@ -665,7 +666,7 @@ Print information about users who are currently logged in.\n\
 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);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index 928f69e455e92d7733616e5156a237156fd1919f..d064cc2ef12342a03dda43c33868b530c70c86f6 100644 (file)
@@ -51,7 +51,7 @@ Same as id -un.\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }
index e974de29fb95ae7aae11dce2ad78b8a9d391d2b5..b45f96925431b7e430d3768feb104c30d2d9bad8 100644 (file)
--- a/src/yes.c
+++ b/src/yes.c
@@ -51,7 +51,7 @@ Repeatedly output a line with all specified STRING(s), or `y'.\n\
 "), stdout);
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
-      emit_bug_reporting_address ();
+      emit_ancillary_info ();
     }
   exit (status);
 }