/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "basename"
-#define AUTHORS "FIXME unknown"
+#define AUTHORS proper_name ("FIXME unknown")
/* The name this program was run with. */
char *program_name;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "chroot"
-#define AUTHORS "Roland McGrath"
+#define AUTHORS proper_name ("Roland McGrath")
/* The name this program was run with, for error messages. */
char *program_name;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "cksum"
-#define AUTHORS "Q. Frank Xia"
+#define AUTHORS proper_name ("Q. Frank Xia")
#include <stdio.h>
#include <sys/types.h>
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "date"
-#define AUTHORS "David MacKenzie"
+#define AUTHORS proper_name ("David MacKenzie")
int putenv ();
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "dircolors"
-#define AUTHORS "H. Peter Anvin"
+#define AUTHORS proper_name ("H. Peter Anvin")
#define obstack_chunk_alloc malloc
#define obstack_chunk_free free
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "echo"
-#define AUTHORS "FIXME unknown"
+#define AUTHORS proper_name ("FIXME unknown")
/* echo [-neE] [arg ...]
Output the ARGs. If -n is specified, the trailing newline is
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "expand"
-#define AUTHORS "David MacKenzie"
+#define AUTHORS proper_name ("David MacKenzie")
/* The number of bytes added at a time to the amount of memory
allocated for the output line. */
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "expr"
-#define AUTHORS "Mike Parker"
+#define AUTHORS proper_name ("Mike Parker")
/* Exit statuses. */
enum
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "factor"
-#define AUTHORS "Paul Rubin"
+#define AUTHORS proper_name ("Paul Rubin")
/* Token delimiters when reading from a file. */
#define DELIM "\n\t "
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "fmt"
-#define AUTHORS "Ross Paterson"
+#define AUTHORS proper_name ("Ross Paterson")
/* The following parameters represent the program's idea of what is
"best". Adjust to taste, subject to the caveats given. */
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "fold"
-#define AUTHORS "David MacKenzie"
+#define AUTHORS proper_name ("David MacKenzie")
/* The name this program was run with. */
char *program_name;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "hostid"
-#define AUTHORS "Jim Meyering"
+#define AUTHORS proper_name ("Jim Meyering")
/* The name this program was run with, for error messages. */
char *program_name;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "hostname"
-#define AUTHORS "Jim Meyering"
+#define AUTHORS proper_name ("Jim Meyering")
#if HAVE_SETHOSTNAME && !defined sethostname
int sethostname ();
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "install"
-#define AUTHORS "David MacKenzie"
+#define AUTHORS proper_name ("David MacKenzie")
#if HAVE_SYS_WAIT_H
# include <sys/wait.h>
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "join"
-#define AUTHORS "Mike Haertel"
+#define AUTHORS proper_name ("Mike Haertel")
#define join system_join
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "kill"
-#define AUTHORS "Paul Eggert"
+#define AUTHORS proper_name ("Paul Eggert")
\f
#if ! (HAVE_DECL_STRSIGNAL || defined strsignal)
# if ! (HAVE_DECL_SYS_SIGLIST || defined sys_siglist)
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "link"
-#define AUTHORS "Michael Stone"
+#define AUTHORS proper_name ("Michael Stone")
/* Name this program was run with. */
char *program_name;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "logname"
-#define AUTHORS "FIXME: unknown"
+#define AUTHORS proper_name ("FIXME: unknown")
/* The name this program was run with. */
char *program_name;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "mkdir"
-#define AUTHORS "David MacKenzie"
+#define AUTHORS proper_name ("David MacKenzie")
/* The name this program was run with. */
char *program_name;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "mkfifo"
-#define AUTHORS "David MacKenzie"
+#define AUTHORS proper_name ("David MacKenzie")
/* The name this program was run with. */
char *program_name;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "mknod"
-#define AUTHORS "David MacKenzie"
+#define AUTHORS proper_name ("David MacKenzie")
/* The name this program was run with. */
char *program_name;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "mktemp"
-#define AUTHORS "Jim Meyering"
+#define AUTHORS proper_name ("Jim Meyering")
static const char *default_template = "tmp.XXXXXXXXXX";
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "nice"
-#define AUTHORS "David MacKenzie"
+#define AUTHORS proper_name ("David MacKenzie")
#if HAVE_NICE
# define GET_NICENESS() nice (0)
#define PROGRAM_NAME "nohup"
-#define AUTHORS "Jim Meyering"
+#define AUTHORS proper_name ("Jim Meyering")
/* Exit statuses. */
enum
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "od"
-#define AUTHORS "Jim Meyering"
+#define AUTHORS proper_name ("Jim Meyering")
#include <float.h>
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "printf"
-#define AUTHORS "David MacKenzie"
+#define AUTHORS proper_name ("David MacKenzie")
#define isodigit(c) ((c) >= '0' && (c) <= '7')
#define hextobin(c) ((c) >= 'a' && (c) <= 'f' ? (c) - 'a' + 10 : \
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "pwd"
-#define AUTHORS "Jim Meyering"
+#define AUTHORS proper_name ("Jim Meyering")
struct file_name
{
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "readlink"
-#define AUTHORS "Dmitry V. Levin"
+#define AUTHORS proper_name ("Dmitry V. Levin")
/* Name this program was run with. */
char *program_name;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "rmdir"
-#define AUTHORS "David MacKenzie"
+#define AUTHORS proper_name ("David MacKenzie")
/* The name this program was run with. */
char *program_name;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "runcon"
-#define AUTHORS "Russell Coker"
+#define AUTHORS proper_name ("Russell Coker")
static struct option long_options[] = {
{"role", required_argument, NULL, 'r'},
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "seq"
-#define AUTHORS "Ulrich Drepper"
+#define AUTHORS proper_name ("Ulrich Drepper")
/* If true print all number with equal width. */
static bool equal_width;
/* I wrote this program from scratch, based on the description of
D.J. Bernstein's program: http://cr.yp.to/daemontools/setuidgid.html. */
-#define AUTHORS "Jim Meyering"
+#define AUTHORS proper_name ("Jim Meyering")
#define SETUIDGID_FAILURE 111
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "shred"
-#define AUTHORS "Colin Plumb"
+#define AUTHORS proper_name ("Colin Plumb")
#include <config.h>
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "shuf"
-#define AUTHORS "Paul Eggert"
+#define AUTHORS proper_name ("Paul Eggert")
/* The name this program was run with. */
char *program_name;
#define PROGRAM_NAME "stat"
-#define AUTHORS "Michael Meskes"
+#define AUTHORS proper_name ("Michael Meskes")
enum
{
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "stty"
-#define AUTHORS "David MacKenzie"
+#define AUTHORS proper_name ("David MacKenzie")
#ifndef _POSIX_VDISABLE
# define _POSIX_VDISABLE 0
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "su"
-#define AUTHORS "David MacKenzie"
+#define AUTHORS proper_name ("David MacKenzie")
#if HAVE_PATHS_H
# include <paths.h>
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "sync"
-#define AUTHORS "Jim Meyering"
+#define AUTHORS proper_name ("Jim Meyering")
/* The name this program was run with. */
char *program_name;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "tr"
-#define AUTHORS "Jim Meyering"
+#define AUTHORS proper_name ("Jim Meyering")
enum { N_CHARS = UCHAR_MAX + 1 };
# define PROGRAM_NAME "false"
#endif
-#define AUTHORS "Jim Meyering"
+#define AUTHORS proper_name ("Jim Meyering")
/* The name this program was run with. */
char *program_name;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "tsort"
-#define AUTHORS "Mark Kettenis"
+#define AUTHORS proper_name ("Mark Kettenis")
/* Token delimiters when reading from a file. */
#define DELIM " \t\n"
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "tty"
-#define AUTHORS "David MacKenzie"
+#define AUTHORS proper_name ("David MacKenzie")
/* The name under which this program was run. */
char *program_name;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME (uname_mode == UNAME_UNAME ? "uname" : "arch")
-#define AUTHORS "David MacKenzie"
+#define AUTHORS proper_name ("David MacKenzie")
#define ARCH_AUTHORS "David MacKenzie", "Karel Zak"
/* Values that are bitwise or'd into `toprint'. */
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "unexpand"
-#define AUTHORS "David MacKenzie"
+#define AUTHORS proper_name ("David MacKenzie")
/* The number of bytes added at a time to the amount of memory
allocated for the output line. */
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "unlink"
-#define AUTHORS "Michael Stone"
+#define AUTHORS proper_name ("Michael Stone")
/* Name this program was run with. */
char *program_name;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "whoami"
-#define AUTHORS "Richard Mlynarik"
+#define AUTHORS proper_name ("Richard Mlynarik")
/* The name this program was run with. */
char *program_name;
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "yes"
-#define AUTHORS "David MacKenzie"
+#define AUTHORS proper_name ("David MacKenzie")
/* The name this program was run with. */
char *program_name;