Browse Source

script to list new ini to be documented

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1005 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
ac7d42eed5
  1. 8
      devel/lsnewini

8
devel/lsnewini

@ -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
Loading…
Cancel
Save