diff options
author | Hartmut Holzgraefe <hholzgra@php.net> | 2000-11-22 22:53:33 +0000 |
---|---|---|
committer | Hartmut Holzgraefe <hholzgra@php.net> | 2000-11-22 22:53:33 +0000 |
commit | e7101eb1931f8c6ce56d791e2505bd89273c5c86 (patch) | |
tree | 4bd284c5f1741500d1e1fc380360d45173276cc6 /scripts | |
parent | 3cacf335725a89c8974928f673e7cefaa64447bd (diff) | |
download | php-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-x | scripts/credits | 9 |
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 |