]> granicus.if.org Git - php/commitdiff
MFH
authorfoobar <sniper@php.net>
Sun, 1 Jan 2006 19:01:04 +0000 (19:01 +0000)
committerfoobar <sniper@php.net>
Sun, 1 Jan 2006 19:01:04 +0000 (19:01 +0000)
scripts/dev/credits

index 658580cdd761a66e56ca6d7470e36e53b6417354..f99c0316aa1cb76c02791250e9a84304faeaabc5 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 awkprog='
-BEGIN { FS = "\n"; RS = "" }
+BEGIN { FS = "\n|\r\n|\r"; RS = "" }
 { print "CREDIT_LINE(\""$1"\", \""$2"\");" }'
 
 for what in ext sapi
@@ -10,9 +10,9 @@ do
 /* 
                       DO NOT EDIT THIS FILE!
 
- it has been automaticaly created by php4/scripts/credits from  
- the information found in the various php4/ext/.../CREDITS and
- php4/sapi/.../CREDITS files 
+ it has been automaticaly created by php5/scripts/credits from  
+ the information found in the various php5/ext/.../CREDITS and
+ php5/sapi/.../CREDITS files 
  
  if you want to change an entry you have to edit the appropriate 
  CREDITS file instead
@@ -22,5 +22,5 @@ do
 END
   # Do not process skeleton #
   files=`find "$what" -name CREDITS | grep -v "$what"/skeleton/CREDITS`
-  awk "$awkprog" $files | sort -f  >> $file
+  awk "$awkprog" $files | sort -f | uniq >> $file
 done