Files
dolibarr/dev/findutf8bomincludes.sh
2013-03-01 16:55:07 +01:00

11 lines
225 B
Bash
Executable File

#!/bin/sh
#
# Checks if files contains UTF-8 BOM
# in dolibarr includes tree excluding
# git repository
#
# Raphaël Doursenaud - rdoursenaud@gpcsolutions.fr
grep -rlI \
--exclude-dir='.git' \
$'\xEF\xBB\xBF' htdocs/includes