New script, to detect non-UTF-8 header files

This commit is contained in:
Laurent Rineau 2014-07-08 13:22:45 +02:00
parent 6a396299d9
commit 03cc42d44f
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#!/bin/zsh
setopt extendedglob
file ^build*/(include|doc)/**/*.h| egrep -v ':[[:space:]]+(C(\+\+)? source, |LaTeX document, |HTML document, )?(ASCII|UTF-8 Unicode) text(, with very long lines)?$'