From: foobar Date: Sun, 1 Jan 2006 19:01:04 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.4.2RC2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=915bc619ef86abd3754e6e9c99787e71bd420302;p=php MFH --- diff --git a/scripts/dev/credits b/scripts/dev/credits index 658580cdd7..f99c0316aa 100755 --- a/scripts/dev/credits +++ b/scripts/dev/credits @@ -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