summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-05-19 16:28:14 +0200
committerJim Meyering <meyering@redhat.com>2008-05-26 08:40:33 +0200
commit74a106985afed8fbbd880baa9511d5c98b679064 (patch)
tree711b6406523040123d15c683823e2479075cab84 /src
parentbe2abe31fd4d500a7a320e4e0598fb8bf78db352 (diff)
downloadcoreutils-74a106985afed8fbbd880baa9511d5c98b679064.tar.xz
convert 3-author programs to use proper_name
g grep -E -l 'define AUTHORS "[^,]+", "[^,]+", "[^,]+"$'|xargs perl -pi -e \ 's/(define AUTHORS) ("[^,]+"), ("[^,]+"), ("[^,]+")$/$1 \\\n proper_name ($2), \\\n proper_name ($3), \\\n proper_name ($4)/'
Diffstat (limited to 'src')
-rw-r--r--src/cut.c5
-rw-r--r--src/dd.c5
-rw-r--r--src/md5sum.c5
-rw-r--r--src/mv.c5
-rw-r--r--src/pathchk.c5
-rw-r--r--src/pinky.c5
-rw-r--r--src/tee.c5
-rw-r--r--src/uptime.c5
-rw-r--r--src/who.c5
9 files changed, 36 insertions, 9 deletions
diff --git a/src/cut.c b/src/cut.c
index f6254e45b..a48be00f7 100644
--- a/src/cut.c
+++ b/src/cut.c
@@ -39,7 +39,10 @@
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "cut"
-#define AUTHORS "David Ihnat", "David MacKenzie", "Jim Meyering"
+#define AUTHORS \
+ proper_name ("David Ihnat"), \
+ proper_name ("David MacKenzie"), \
+ proper_name ("Jim Meyering")
#define FATAL_ERROR(Message) \
do \
diff --git a/src/dd.c b/src/dd.c
index 0a7b15421..b1635b875 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -40,7 +40,10 @@ static void process_signals (void);
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "dd"
-#define AUTHORS "Paul Rubin", "David MacKenzie", "Stuart Kemp"
+#define AUTHORS \
+ proper_name ("Paul Rubin"), \
+ proper_name ("David MacKenzie"), \
+ proper_name ("Stuart Kemp")
/* Use SA_NOCLDSTOP as a proxy for whether the sigaction machinery is
present. SA_NODEFER and SA_RESETHAND are XSI extensions. */
diff --git a/src/md5sum.c b/src/md5sum.c
index f83a7b115..df812b91b 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -88,7 +88,10 @@
#define DIGEST_HEX_BYTES (DIGEST_BITS / 4)
#define DIGEST_BIN_BYTES (DIGEST_BITS / 8)
-#define AUTHORS "Ulrich Drepper", "Scott Miller", "David Madore"
+#define AUTHORS \
+ proper_name ("Ulrich Drepper"), \
+ proper_name ("Scott Miller"), \
+ proper_name ("David Madore")
/* The minimum length of a valid digest line. This length does
not include any newline character at the end of a line. */
diff --git a/src/mv.c b/src/mv.c
index 44f5bfc51..3902c13b0 100644
--- a/src/mv.c
+++ b/src/mv.c
@@ -37,7 +37,10 @@
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "mv"
-#define AUTHORS "Mike Parker", "David MacKenzie", "Jim Meyering"
+#define AUTHORS \
+ proper_name ("Mike Parker"), \
+ proper_name ("David MacKenzie"), \
+ proper_name ("Jim Meyering")
/* Initial number of entries in each hash table entry's table of inodes. */
#define INITIAL_HASH_MODULE 100
diff --git a/src/pathchk.c b/src/pathchk.c
index a711a091c..5bf297952 100644
--- a/src/pathchk.c
+++ b/src/pathchk.c
@@ -35,7 +35,10 @@
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "pathchk"
-#define AUTHORS "Paul Eggert", "David MacKenzie", "Jim Meyering"
+#define AUTHORS \
+ proper_name ("Paul Eggert"), \
+ proper_name ("David MacKenzie"), \
+ proper_name ("Jim Meyering")
#ifndef _POSIX_PATH_MAX
# define _POSIX_PATH_MAX 256
diff --git a/src/pinky.c b/src/pinky.c
index 760ae52c5..fd2bdb69c 100644
--- a/src/pinky.c
+++ b/src/pinky.c
@@ -33,7 +33,10 @@
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "pinky"
-#define AUTHORS "Joseph Arceneaux", "David MacKenzie", "Kaveh Ghazi"
+#define AUTHORS \
+ proper_name ("Joseph Arceneaux"), \
+ proper_name ("David MacKenzie"), \
+ proper_name ("Kaveh Ghazi")
#ifndef MAXHOSTNAMELEN
# define MAXHOSTNAMELEN 64
diff --git a/src/tee.c b/src/tee.c
index 4a9f37bba..987ffbdaa 100644
--- a/src/tee.c
+++ b/src/tee.c
@@ -28,7 +28,10 @@
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "tee"
-#define AUTHORS "Mike Parker", "Richard M. Stallman", "David MacKenzie"
+#define AUTHORS \
+ proper_name ("Mike Parker"), \
+ proper_name ("Richard M. Stallman"), \
+ proper_name ("David MacKenzie")
static bool tee_files (int nfiles, const char **files);
diff --git a/src/uptime.c b/src/uptime.c
index aff1e3dfa..f6925e31e 100644
--- a/src/uptime.c
+++ b/src/uptime.c
@@ -40,7 +40,10 @@
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "uptime"
-#define AUTHORS "Joseph Arceneaux", "David MacKenzie", "Kaveh Ghazi"
+#define AUTHORS \
+ proper_name ("Joseph Arceneaux"), \
+ proper_name ("David MacKenzie"), \
+ proper_name ("Kaveh Ghazi")
int getloadavg ();
diff --git a/src/who.c b/src/who.c
index 4d024cea4..6a39331cf 100644
--- a/src/who.c
+++ b/src/who.c
@@ -40,7 +40,10 @@
/* The official name of this program (e.g., no `g' prefix). */
#define PROGRAM_NAME "who"
-#define AUTHORS "Joseph Arceneaux", "David MacKenzie", "Michael Stone"
+#define AUTHORS \
+ proper_name ("Joseph Arceneaux"), \
+ proper_name ("David MacKenzie"), \
+ proper_name ("Michael Stone")
#ifndef MAXHOSTNAMELEN
# define MAXHOSTNAMELEN 64