Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) E:\xampp\xampp\phpMyAdmin\lang\ drwxrwxrwx |
Viewing file: translatecount.sh (900 B) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | #!/bin/sh # $Id: translatecount.sh 5152 2003-11-18 15:20:45Z nijel $ ## # Shell script to produce counts of just how out of date the translations are! ## # Accepts optional parameters of a list of files to produce counts from # Defaults to using all files ## # Written by Robin Johnson <robbat2 at users.sourceforge.net> ## srcfilelist=${@} destfilelist="" translationmatch='//to translate' suffixtoremove='.inc.php' added=0 if [ -z "${srcfilelist}" ]; then srcfilelist="*.inc.php" added=1 fi; for i in ${srcfilelist}; do if [ ! -e ${i} ]; then $i=`eval ${i}*php3` fi if [ -e ${i} ]; then destfilelist="${destfilelist} ${i}" fi; done; destfilelist=`echo ${destfilelist} | xargs -n1 | egrep '.inc.php$'` if [ ! -z "${destfilelist}" ]; then grep -c -- "${translationmatch}" ${destfilelist} | sort -t':' -n +1 | sed -e "s/${suffixtoremove}//g" | xargs -n1 | egrep -v ':0$' fi; |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]-- |