1
0
Fork 0

script to list new ini to be documented

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1005 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
Xuefer 2012-07-19 14:11:22 +00:00
parent 8321be2cf7
commit ac7d42eed5
1 changed files with 8 additions and 0 deletions

8
devel/lsnewini Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
tmp1=`mktemp`
tmp2=`mktemp`
grep -F '=' xcache.ini |grep -v '^;' | sed -r -e 's# *=.*##' | sort > $tmp2
grep 'PHP_INI.*("' *.c | sed -r -e 's#^[^"]*"([^"]*)".*#\1#' | sort > $tmp1
diff -iu $tmp2 $tmp1 |grep '^[-+]'
rm -f $tmp1 $tmp2