summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2000-11-22 22:53:33 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2000-11-22 22:53:33 +0000
commite7101eb1931f8c6ce56d791e2505bd89273c5c86 (patch)
tree4bd284c5f1741500d1e1fc380360d45173276cc6 /scripts
parent3cacf335725a89c8974928f673e7cefaa64447bd (diff)
downloadphp-git-e7101eb1931f8c6ce56d791e2505bd89273c5c86.tar.gz
this little scripts will collect the CREDITS files from
all the ext/ and sapi/ subdirectories and put them all together into ext/standard/credit_[ext|sapi].h
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/credits9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/credits b/scripts/credits
new file mode 100755
index 0000000000..d627948b98
--- /dev/null
+++ b/scripts/credits
@@ -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