From be2abe31fd4d500a7a320e4e0598fb8bf78db352 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 19 May 2008 16:26:25 +0200 Subject: convert 2-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)/' --- src/paste.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/paste.c') diff --git a/src/paste.c b/src/paste.c index 20d695333..cdecd557e 100644 --- a/src/paste.c +++ b/src/paste.c @@ -47,7 +47,9 @@ /* The official name of this program (e.g., no `g' prefix). */ #define PROGRAM_NAME "paste" -#define AUTHORS "David M. Ihnat", "David MacKenzie" +#define AUTHORS \ + proper_name ("David M. Ihnat"), \ + proper_name ("David MacKenzie") /* Indicates that no delimiter should be added in the current position. */ #define EMPTY_DELIM '\0' -- cgit v1.2.3