]> granicus.if.org Git - php/commitdiff
this little scripts will collect the CREDITS files from
authorHartmut Holzgraefe <hholzgra@php.net>
Wed, 22 Nov 2000 22:53:33 +0000 (22:53 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Wed, 22 Nov 2000 22:53:33 +0000 (22:53 +0000)
all the ext/ and sapi/ subdirectories and put them all
together into ext/standard/credit_[ext|sapi].h

scripts/credits [new file with mode: 0755]

diff --git a/scripts/credits b/scripts/credits
new file mode 100755 (executable)
index 0000000..d627948
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+awkprog='
+BEGIN { FS = "\n"; RS = "" }
+{ print "CREDIT_LINE(\""$1"\",\""$2"\");" }'
+
+for what in ext sapi
+do
+  awk "$awkprog" $what/*/CREDITS | sort -f > ext/standard/credits_$what.h
+done