From: Jim Meyering Date: Mon, 19 May 2008 14:28:14 +0000 (+0200) Subject: convert 3-author programs to use proper_name X-Git-Tag: v6.12~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=74a106985afed8fbbd880baa9511d5c98b679064;p=platform%2Fupstream%2Fcoreutils.git 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)/' --- diff --git a/src/cut.c b/src/cut.c index f6254e4..a48be00 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 0a7b154..b1635b8 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 f83a7b1..df812b9 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 44f5bfc..3902c13 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 a711a09..5bf2979 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 760ae52..fd2bdb6 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 4a9f37b..987ffbd 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 aff1e3d..f6925e3 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 4d024ce..6a39331 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