From 915bc619ef86abd3754e6e9c99787e71bd420302 Mon Sep 17 00:00:00 2001 From: foobar Date: Sun, 1 Jan 2006 19:01:04 +0000 Subject: [PATCH] MFH --- scripts/dev/credits | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.50.1