mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-07-25 10:16:53 +02:00
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)/'
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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. */
|
||||
|
||||
+4
-1
@@ -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. */
|
||||
|
||||
@@ -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
|
||||
|
||||
+4
-1
@@ -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
|
||||
|
||||
+4
-1
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
+4
-1
@@ -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 ();
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user