Merge branch 'master' of github.com:OpenFOAM/OpenFOAM-2.0.x
[OpenFOAM-2.0.x.git] / doc / tools / find-trailingspace
bloba04ee94d460a1ae21ab90cc6ec56b9e9a84ea3b7
1 #!/bin/bash
2 # -----------------------------------------------------------------------------
3 # Script
4 # find-trailingspace
6 # Description
7 # Search for files with trailing whitesapce
9 # -----------------------------------------------------------------------------
10 set -x
11 cd $WM_PROJECT_DIR || exit 1
13 tab=$'\t'
15 git grep -c -E "[ $tab]+"'$' -- $@
17 #------------------------------------------------------------------ end-of-file