of 2003-09-19. Now, AUTHORS is a comma-separated list of strings.
Update the call to parse_long_options so that `AUTHORS, NULL' are the
last parameters.
* src/true.c (main): Append NULL to version_etc argument list.
* src/sys2.h (case_GETOPT_VERSION_CHAR): Likewise.
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "basename"
-#define WRITTEN_BY _("Written by FIXME unknown.")
+#define AUTHORS "FIXME unknown"
/* The name this program was run with. */
char *program_name;
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
/* The above handles --help and --version.
Since there is no other invocation of getopt, handle `--' here. */
if (argc > 1 && STREQ (argv[1], "--"))
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "cat"
-#define WRITTEN_BY _("Written by Torbjorn Granlund and Richard M. Stallman.")
+#define AUTHORS "Torbjorn Granlund", "Richard M. Stallman"
/* Undefine, to avoid warning about redefinition on some systems. */
#undef max
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "chgrp"
-#define WRITTEN_BY _("Written by David MacKenzie and Jim Meyering.")
+#define AUTHORS "David MacKenzie", "Jim Meyering"
#ifndef _POSIX_VERSION
struct group *getgrnam ();
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "chmod"
-#define WRITTEN_BY _("Written by David MacKenzie.")
+#define AUTHORS "David MacKenzie"
enum Change_status
{
verbosity = V_high;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "chown"
-#define WRITTEN_BY _("Written by David MacKenzie and Jim Meyering.")
+#define AUTHORS "David MacKenzie", "Jim Meyering"
/* The name the program was run with. */
char *program_name;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "chroot"
-#define WRITTEN_BY _("Written by Roland McGrath.")
+#define AUTHORS "Roland McGrath"
/* The name this program was run with, for error messages. */
char *program_name;
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
if (argc <= 1)
{
error (0, 0, _("too few arguments"));
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "cksum"
-#define WRITTEN_BY _("Written by Q. Frank Xia.")
+#define AUTHORS "Q. Frank Xia"
#include <stdio.h>
#include <sys/types.h>
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
have_read_stdin = 0;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "comm"
-#define WRITTEN_BY _("Written by Richard Stallman and David MacKenzie.")
+#define AUTHORS "Richard Stallman", "David MacKenzie"
/* Undefine, to avoid warning about redefinition on some systems. */
#undef min
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "cp"
-#define WRITTEN_BY _("Written by Torbjorn Granlund, David MacKenzie, and Jim Meyering.")
+#define AUTHORS "Torbjorn Granlund", "David MacKenzie", "Jim Meyering"
#ifndef _POSIX_VERSION
uid_t geteuid ();
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "csplit"
-#define WRITTEN_BY _("Written by Stuart Kemp and David MacKenzie.")
+#define AUTHORS "Stuart Kemp", "David MacKenzie"
/* Increment size of area for control records. */
#define ALLOC_SIZE 20
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "cut"
-#define WRITTEN_BY _("Written by David Ihnat, David MacKenzie, and Jim Meyering.")
+#define AUTHORS "David Ihnat", "David MacKenzie", "Jim Meyering"
#define FATAL_ERROR(Message) \
do \
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (2);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "date"
-#define WRITTEN_BY _("Written by David MacKenzie.")
+#define AUTHORS "David MacKenzie"
int putenv ();
TZSET;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "dd"
-#define WRITTEN_BY _("Written by Paul Rubin, David MacKenzie, and Stuart Kemp.")
+#define AUTHORS "Paul Rubin", "David MacKenzie", "Stuart Kemp"
#ifndef SIGINFO
# define SIGINFO SIGUSR1
atexit (close_stdout_wrapper);
parse_long_options (argc, argv, PROGRAM_NAME, PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
/* Don't close stdout on exit from here on. */
closeout_func = NULL;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "df"
-#define WRITTEN_BY \
- _("Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert.")
+#define AUTHORS \
+ "Torbjorn Granlund", "David MacKenzie", "Paul Eggert"
/* Name this program was run with. */
char *program_name;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "dircolors"
-#define WRITTEN_BY _("Written by H. Peter Anvin.")
+#define AUTHORS "H. Peter Anvin"
#define obstack_chunk_alloc malloc
#define obstack_chunk_free free
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "dirname"
-#define WRITTEN_BY _("Written by David MacKenzie and Jim Meyering.")
+#define AUTHORS "David MacKenzie", "Jim Meyering"
/* The name this program was run with. */
char *program_name;
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
/* The above handles --help and --version.
Since there is no other invocation of getopt, handle `--' here. */
if (argc > 1 && STREQ (argv[1], "--"))
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "du"
-#define WRITTEN_BY \
- _("Written by Torbjorn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering.")
+#define AUTHORS \
+ "Torbjorn Granlund", "David MacKenzie, Paul Eggert", "Jim Meyering"
/* Initial size of the hash table. */
#define INITIAL_TABLE_SIZE 103
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
fail = 1;
/* echo.c, derived from code echo.c in Bash.
- Copyright (C) 87,89, 1991-1997, 1999-2002 Free Software Foundation, Inc.
+ Copyright (C) 87,89, 1991-1997, 1999-2003 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "echo"
-#define WRITTEN_BY _("Written by FIXME unknown.")
+#define AUTHORS "FIXME unknown"
/* echo [-neE] [arg ...]
Output the ARGs. If -n is specified, the trailing newline is
/* Don't recognize --help or --version if POSIXLY_CORRECT is set. */
if (getenv ("POSIXLY_CORRECT") == NULL)
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL, NULL);
else
allow_options = 0;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "env"
-#define WRITTEN_BY _("Written by Richard Mlynarik and David MacKenzie.")
+#define AUTHORS "Richard Mlynarik", "David MacKenzie"
int putenv ();
case 'u':
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (2);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "expand"
-#define WRITTEN_BY _("Written by David MacKenzie.")
+#define AUTHORS "David MacKenzie"
/* The number of bytes added at a time to the amount of memory
allocated for the output line. */
obsolete_tablist = true;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
if (tabval == -1)
tabval = 0;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "expr"
-#define WRITTEN_BY _("Written by Mike Parker.")
+#define AUTHORS "Mike Parker"
#undef NEW
#define NEW(Type) XMALLOC (Type, 1)
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
/* The above handles --help and --version.
Since there is no other invocation of getopt, handle `--' here. */
if (argc > 1 && STREQ (argv[1], "--"))
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "factor"
-#define WRITTEN_BY _("Written by Paul Rubin.")
+#define AUTHORS "Paul Rubin"
/* Token delimiters when reading from a file. */
#define DELIM "\n\t "
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
/* The above handles --help and --version.
Since there is no other invocation of getopt, handle `--' here. */
if (argc > 1 && STREQ (argv[1], "--"))
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "fmt"
-#define WRITTEN_BY _("Written by Ross Paterson.")
+#define AUTHORS "Ross Paterson"
/* The following parameters represent the program's idea of what is
"best". Adjust to taste, subject to the caveats given. */
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "fold"
-#define WRITTEN_BY _("Written by David MacKenzie.")
+#define AUTHORS "David MacKenzie"
/* The name this program was run with. */
char *program_name;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "head"
-#define WRITTEN_BY _("Written by David MacKenzie and Jim Meyering.")
+#define AUTHORS "David MacKenzie", "Jim Meyering"
/* Number of lines/chars/blocks to head. */
#define DEFAULT_NUMBER 10
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "hostid"
-#define WRITTEN_BY _("Written by Jim Meyering.")
+#define AUTHORS "Jim Meyering"
/* The name this program was run with, for error messages. */
char *program_name;
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
if (argc > 1)
{
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "hostname"
-#define WRITTEN_BY _("Written by Jim Meyering.")
+#define AUTHORS "Jim Meyering"
#if !defined(HAVE_SETHOSTNAME) && defined(HAVE_SYSINFO) && \
defined (HAVE_SYS_SYSTEMINFO_H) && defined(HAVE_LIMITS_H)
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
#ifdef HAVE_SETHOSTNAME
if (argc == 2)
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "id"
-#define WRITTEN_BY _("Written by Arnold Robbins and David MacKenzie.")
+#define AUTHORS "Arnold Robbins", "David MacKenzie"
#ifndef _POSIX_VERSION
struct passwd *getpwuid ();
just_group_list = 1;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "install"
-#define WRITTEN_BY _("Written by David MacKenzie.")
+#define AUTHORS "David MacKenzie"
#if HAVE_SYS_WAIT_H
# include <sys/wait.h>
backup_suffix_string = optarg;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "join"
-#define WRITTEN_BY _("Written by Mike Haertel.")
+#define AUTHORS "Mike Haertel"
#define join system_join
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "kill"
-#define WRITTEN_BY _("Written by Paul Eggert.")
+#define AUTHORS "Paul Eggert"
\f
#if ! (HAVE_DECL_STRTOIMAX || defined strtoimax)
intmax_t strtoimax ();
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "link"
-#define WRITTEN_BY _("Written by Michael Stone.")
+#define AUTHORS "Michael Stone"
/* Name this program was run with. */
char *program_name;
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
/* The above handles --help and --version.
Since there is no other invocation of getopt, handle `--' here. */
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "ln"
-#define WRITTEN_BY _("Written by Mike Parker and David MacKenzie.")
+#define AUTHORS "Mike Parker", "David MacKenzie"
#ifndef ENABLE_HARD_LINK_TO_SYMLINK_WARNING
# define ENABLE_HARD_LINK_TO_SYMLINK_WARNING 0
backup_suffix_string = optarg;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
break;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "logname"
-#define WRITTEN_BY _("Written by FIXME: unknown.")
+#define AUTHORS "FIXME: unknown"
/* The name this program was run with. */
char *program_name;
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
while ((c = getopt_long (argc, argv, "", long_options, NULL)) != -1)
{
: (ls_mode == LS_MULTI_COL \
? "dir" : "vdir"))
-#define WRITTEN_BY _("Written by Richard Stallman and David MacKenzie.")
+#define AUTHORS "Richard Stallman", "David MacKenzie"
#define obstack_chunk_alloc malloc
#define obstack_chunk_free free
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME (algorithm == ALG_MD5 ? "md5sum" : "shasum")
-#define WRITTEN_BY _("Written by Ulrich Drepper and Scott Miller.")
+#define AUTHORS "Ulrich Drepper", "Scott Miller"
/* Most systems do not distinguish between external and internal
text representations. */
warn = 1;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "mkdir"
-#define WRITTEN_BY _("Written by David MacKenzie.")
+#define AUTHORS "David MacKenzie"
/* The name this program was run with. */
char *program_name;
verbose_fmt_string = _("created directory %s");
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "mkfifo"
-#define WRITTEN_BY _("Written by David MacKenzie.")
+#define AUTHORS "David MacKenzie"
/* The name this program was run with. */
char *program_name;
specified_mode = optarg;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "mknod"
-#define WRITTEN_BY _("Written by David MacKenzie.")
+#define AUTHORS "David MacKenzie"
/* The name this program was run with. */
char *program_name;
specified_mode = optarg;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "mv"
-#define WRITTEN_BY _("Written by Mike Parker, David MacKenzie, and Jim Meyering.")
+#define AUTHORS "Mike Parker", "David MacKenzie", "Jim Meyering"
/* Initial number of entries in each hash table entry's table of inodes. */
#define INITIAL_HASH_MODULE 100
backup_suffix_string = optarg;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "nice"
-#define WRITTEN_BY _("Written by David MacKenzie.")
+#define AUTHORS "David MacKenzie"
#ifdef NICE_PRIORITY
# define GET_PRIORITY() nice (0)
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
for (i = 1; i < argc; /* empty */)
{
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "nl"
-#define WRITTEN_BY _("Written by Scott Bartram and David MacKenzie.")
+#define AUTHORS "Scott Bartram", "David MacKenzie"
#ifndef TRUE
# define TRUE 1
section_del = optarg;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
fail = 1;
break;
#define PROGRAM_NAME "nohup"
-#define WRITTEN_BY _("Written by Jim Meyering.")
+#define AUTHORS "Jim Meyering"
/* Exit statuses. */
enum
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
/* The above handles --help and --version.
Now, handle `--'. */
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "od"
-#define WRITTEN_BY _("Written by Jim Meyering.")
+#define AUTHORS "Jim Meyering"
#if defined(__GNUC__) || defined(STDC_HEADERS)
# include <float.h>
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "paste"
-#define WRITTEN_BY _("Written by David M. Ihnat and David MacKenzie.")
+#define AUTHORS "David M. Ihnat", "David MacKenzie"
/* Indicates that no delimiter should be added in the current position. */
#define EMPTY_DELIM '\0'
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "pathchk"
-#define WRITTEN_BY _("Written by David MacKenzie and Jim Meyering.")
+#define AUTHORS "David MacKenzie", "Jim Meyering"
#define NEED_PATHCONF_WRAPPER 0
#if HAVE_PATHCONF
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
while ((optc = getopt_long (argc, argv, "p", longopts, NULL)) != -1)
{
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "pinky"
-#define WRITTEN_BY _("Written by Joseph Arceneaux, David MacKenzie, and Kaveh Ghazi.")
+#define AUTHORS "Joseph Arceneaux", "David MacKenzie", "Kaveh Ghazi"
#ifndef MAXHOSTNAMELEN
# define MAXHOSTNAMELEN 64
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "pr"
-#define WRITTEN_BY _("Written by Pete TerMaat and Roland Huebner.")
+#define AUTHORS "Pete TerMaat", "Roland Huebner"
#ifndef TRUE
# define TRUE 1
break;
}
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (2);
break;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "printenv"
-#define WRITTEN_BY _("Written by David MacKenzie and Richard Mlynarik.")
+#define AUTHORS "David MacKenzie", "Richard Mlynarik"
/* The name this program was run with. */
char *program_name;
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
while ((c = getopt_long (argc, argv, "", long_options, NULL)) != -1)
{
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "printf"
-#define WRITTEN_BY _("Written by David MacKenzie.")
+#define AUTHORS "David MacKenzie"
#ifndef STDC_HEADERS
double strtod ();
posixly_correct = (getenv ("POSIXLY_CORRECT") != NULL);
if (!posixly_correct)
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
/* The above handles --help and --version.
Since there is no other invocation of getopt, handle `--' here. */
/* Note to translator: Please translate "F. Pinard" to "François
Pinard" if "ç" (c-with-cedilla) is available in the
translation's character set and encoding. */
-#define WRITTEN_BY _("Written by F. Pinard.")
+#define AUTHORS _("F. Pinard")
/* Number of possible characters in a byte. */
#define CHAR_SET_SIZE 256
format_args, format_vals);
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
}
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "pwd"
-#define WRITTEN_BY _("Written by Jim Meyering.")
+#define AUTHORS "Jim Meyering"
/* The name this program was run with. */
char *program_name;
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
if (1 < argc)
error (0, 0, _("ignoring non-option arguments"));
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "readlink"
-#define WRITTEN_BY _("Written by Dmitry V. Levin.")
+#define AUTHORS "Dmitry V. Levin"
/* Name this program was run with. */
char *program_name;
verbose = 1;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "rm"
-#define WRITTEN_BY \
- _("Written by Paul Rubin, David MacKenzie, Richard Stallman, and Jim Meyering.")
+#define AUTHORS \
+ "Paul Rubin", "David MacKenzie, Richard Stallman", "Jim Meyering"
/* Name this program was run with. */
char *program_name;
x.verbose = 1;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "rmdir"
-#define WRITTEN_BY _("Written by David MacKenzie.")
+#define AUTHORS "David MacKenzie"
#ifndef EEXIST
# define EEXIST 0
verbose = 1;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "seq"
-#define WRITTEN_BY _("Written by Ulrich Drepper.")
+#define AUTHORS "Ulrich Drepper"
/* If nonzero print all number with equal width. */
static int equal_width;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* I wrote this program from scratch, based on the description of
D.J. Bernstein's program: http://cr.yp.to/daemontools/setuidgid.html. */
-#define WRITTEN_BY _("Written by Jim Meyering.")
+#define AUTHORS "Jim Meyering"
#define FAIL_STATUS 111
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
/* The above handles --help and --version.
Since there is no other invocation of getopt, handle `--' here. */
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "shred"
-#define WRITTEN_BY _("Written by Colin Plumb.")
+#define AUTHORS "Colin Plumb"
#if HAVE_CONFIG_H
# include <config.h>
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "sleep"
-#define WRITTEN_BY _("Written by Jim Meyering and Paul Eggert.")
+#define AUTHORS "Jim Meyering", "Paul Eggert"
/* The name by which this program was run. */
char *program_name;
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
while ((c = getopt_long (argc, argv, "", long_options, NULL)) != -1)
{
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "sort"
-#define WRITTEN_BY _("Written by Mike Haertel and Paul Eggert.")
+#define AUTHORS "Mike Haertel", "Paul Eggert"
#if HAVE_LANGINFO_CODESET
# include <langinfo.h>
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (SORT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "split"
-#define WRITTEN_BY _("Written by Torbjorn Granlund and Richard M. Stallman.")
+#define AUTHORS "Torbjorn Granlund", "Richard M. Stallman"
#define DEFAULT_SUFFIX_LENGTH 2
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
#define PROGRAM_NAME "stat"
-#define WRITTEN_BY _("Written by Michael Meskes.")
+#define AUTHORS "Michael Meskes"
static struct option const long_options[] = {
{"link", no_argument, 0, 'l'}, /* deprecated. FIXME: remove in 2003 */
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "stty"
-#define WRITTEN_BY _("Written by David MacKenzie.")
+#define AUTHORS "David MacKenzie"
#ifndef _POSIX_VDISABLE
# define _POSIX_VDISABLE ((unsigned char) 0)
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
output_type = changed;
verbose_output = 0;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "su"
-#define WRITTEN_BY _("Written by David MacKenzie.")
+#define AUTHORS "David MacKenzie"
#if HAVE_PATHS_H
# include <paths.h>
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "sum"
-#define WRITTEN_BY _("Written by Kayvan Aghaiepour and David MacKenzie.")
+#define AUTHORS "Kayvan Aghaiepour", "David MacKenzie"
/* The name this program was run with. */
char *program_name;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "sync"
-#define WRITTEN_BY _("Written by Jim Meyering.")
+#define AUTHORS "Jim Meyering"
/* The name this program was run with. */
char *program_name;
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
if (1 < argc)
error (0, 0, _("ignoring all arguments"));
#include "closeout.h"
#include "version-etc.h"
-#define case_GETOPT_VERSION_CHAR(Program_name, Written_by) \
+#define case_GETOPT_VERSION_CHAR(Program_name, Authors) \
case GETOPT_VERSION_CHAR: \
- version_etc (stdout, Program_name, PACKAGE, VERSION, Written_by); \
+ version_etc (stdout, Program_name, PACKAGE, VERSION, Authors, NULL);\
exit (EXIT_SUCCESS); \
break;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "tac"
-#define WRITTEN_BY _("Written by Jay Lepreau and David MacKenzie.")
+#define AUTHORS "Jay Lepreau", "David MacKenzie"
#if defined __MSDOS__ || defined _WIN32
/* Define this to non-zero on systems for which the regular mechanism
error (EXIT_FAILURE, 0, _("separator cannot be empty"));
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "tail"
-#define WRITTEN_BY \
- _("Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering.")
+#define AUTHORS \
+ "Paul Rubin", "David MacKenzie, Ian Lance Taylor", "Jim Meyering"
#ifndef ENOSYS
/* Some systems don't have ENOSYS -- this should be a big enough
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "tee"
-#define WRITTEN_BY _("Written by Mike Parker, Richard M. Stallman, and David MacKenzie.")
+#define AUTHORS "Mike Parker", "Richard M. Stallman", "David MacKenzie"
static int tee (int nfiles, const char **files);
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
# define main test_command
#endif
-#define WRITTEN_BY _("Written by Kevin Braunsdorf and Matthew Bradburn.")
+#define AUTHORS "Kevin Braunsdorf", "Matthew Bradburn"
/*
* [:
if (margc < 2 || strcmp (margv[margc - 1], "]") != 0)
{
parse_long_options (margc, margv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
test_syntax_error (_("missing `]'\n"), NULL);
}
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "touch"
-#define WRITTEN_BY \
-_("Written by Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith.")
+#define AUTHORS \
+"Paul Rubin", "Arnold Robbins, Jim Kingdon, David MacKenzie", "Randy Smith"
#ifndef STDC_HEADERS
time_t time ();
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "tr"
-#define WRITTEN_BY _("Written by Jim Meyering.")
+#define AUTHORS "Jim Meyering"
#define N_CHARS (UCHAR_MAX + 1)
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (2);
#include "system.h"
#define PROGRAM_NAME "true"
-#define WRITTEN_BY _("Written by Jim Meyering.")
+#define AUTHORS "Jim Meyering"
/* The name this program was run with. */
char *program_name;
usage (EXIT_SUCCESS);
if (STREQ (argv[1], "--version"))
- version_etc (stdout, PROGRAM_NAME, GNU_PACKAGE, VERSION, WRITTEN_BY);
+ version_etc (stdout, PROGRAM_NAME, GNU_PACKAGE, VERSION, AUTHORS, NULL);
}
exit (EXIT_SUCCESS);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "tsort"
-#define WRITTEN_BY _("Written by Mark Kettenis.")
+#define AUTHORS "Mark Kettenis"
/* Token delimiters when reading from a file. */
#define DELIM " \t\n"
exit_status = 0;
parse_long_options (argc, argv, PROGRAM_NAME, PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
while ((opt = getopt_long (argc, argv, "", long_options, NULL)) != -1)
switch (opt)
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "tty"
-#define WRITTEN_BY _("Written by David MacKenzie.")
+#define AUTHORS "David MacKenzie"
/* The name under which this program was run. */
char *program_name;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (2);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "uname"
-#define WRITTEN_BY _("Written by David MacKenzie.")
+#define AUTHORS "David MacKenzie"
/* Values that are bitwise or'd into `toprint'. */
/* Kernel name. */
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "unexpand"
-#define WRITTEN_BY _("Written by David MacKenzie.")
+#define AUTHORS "David MacKenzie"
/* The number of bytes added at a time to the amount of memory
allocated for the output line. */
obsolete_tablist = true;
break;
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
if (tabval == -1)
tabval = 0;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "uniq"
-#define WRITTEN_BY _("Written by Richard Stallman and David MacKenzie.")
+#define AUTHORS "Richard Stallman", "David MacKenzie"
#define SWAP_LINES(A, B) \
do \
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "unlink"
-#define WRITTEN_BY _("Written by Michael Stone.")
+#define AUTHORS "Michael Stone"
/* Name this program was run with. */
char *program_name;
/* Don't recognize --help or --version if POSIXLY_CORRECT is set. */
if (getenv ("POSIXLY_CORRECT") == NULL)
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
/* The above handles --help and --version.
Since there is no other invocation of getopt, handle `--' here. */
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "uptime"
-#define WRITTEN_BY _("Written by Joseph Arceneaux, David MacKenzie, and Kaveh Ghazi.")
+#define AUTHORS "Joseph Arceneaux", "David MacKenzie", "Kaveh Ghazi"
int getloadavg ();
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
while ((optc = getopt_long (argc, argv, "", longopts, &longind)) != -1)
{
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "users"
-#define WRITTEN_BY _("Written by Joseph Arceneaux and David MacKenzie.")
+#define AUTHORS "Joseph Arceneaux", "David MacKenzie"
/* The name this program was run with. */
char *program_name;
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
while ((optc = getopt_long (argc, argv, "", longopts, &longind)) != -1)
{
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "wc"
-#define WRITTEN_BY _("Written by Paul Rubin and David MacKenzie.")
+#define AUTHORS "Paul Rubin", "David MacKenzie"
/* Size of atomic reads. */
#define BUFFER_SIZE (16 * 1024)
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "who"
-#define WRITTEN_BY _("Written by Joseph Arceneaux, David MacKenzie, and Michael Stone.")
+#define AUTHORS "Joseph Arceneaux", "David MacKenzie", "Michael Stone"
#ifndef MAXHOSTNAMELEN
# define MAXHOSTNAMELEN 64
case_GETOPT_HELP_CHAR;
- case_GETOPT_VERSION_CHAR (PROGRAM_NAME, WRITTEN_BY);
+ case_GETOPT_VERSION_CHAR (PROGRAM_NAME, AUTHORS);
default:
usage (EXIT_FAILURE);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "whoami"
-#define WRITTEN_BY _("Written by Richard Mlynarik.")
+#define AUTHORS "Richard Mlynarik"
/* The name this program was run with. */
char *program_name;
atexit (close_stdout);
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
while ((c = getopt_long (argc, argv, "", long_options, NULL)) != -1)
{
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "yes"
-#define WRITTEN_BY _("Written by David MacKenzie.")
+#define AUTHORS "David MacKenzie"
/* The name this program was run with. */
char *program_name;
/* Don't recognize --help or --version if POSIXLY_CORRECT is set. */
if (getenv ("POSIXLY_CORRECT") == NULL)
parse_long_options (argc, argv, PROGRAM_NAME, GNU_PACKAGE, VERSION,
- WRITTEN_BY, usage);
+ usage, AUTHORS, NULL);
if (argc == 1)
{