From: Hartmut Holzgraefe Date: Wed, 22 Nov 2000 22:53:33 +0000 (+0000) Subject: this little scripts will collect the CREDITS files from X-Git-Tag: php-4.0.4RC3~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7101eb1931f8c6ce56d791e2505bd89273c5c86;p=php 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 --- 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