• Find undoc functions
    grep -B 1 -e "^\s*function" */*function.php | grep -e 'php-$' -A 1 
    
  • Modify end lines of sql or php files
    find ...yourpath...  -name \*.php -exec dos2unix -o {} \; -print
    
  • Check plugins dict
    /var/www/glpi/plugins/compte# /var/www/glpi/tools/check_dict.pl locales/fr_FR.php
    
  • French spell checking
    tail -n +34 fr_FR.php | sed -e 's/^.*="//' -e 's/";//' -e 's/\?>//' | hunspell -a -d fr_FR -l | sort -u | less