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)/'
This commit is contained in:
Jim Meyering committed 2008-05-26 08:40:33 +02:00
1 parent b69b4cca95
commit be2abe31fd
25 files changed
+75 -25

No files matched your search

+3 -1
View File
@@ -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'