'set -x' should be used for debugging. Added command printing into wmake and Allwmake as a replacement for 'set -x' to log current target.
17 lines
429 B
Bash
Executable File
17 lines
429 B
Bash
Executable File
#!/bin/bash
|
|
#------------------------------------------------------------------------------
|
|
# Script
|
|
# find-trailingspace
|
|
#
|
|
# Description
|
|
# Search for files with trailing whitesapce
|
|
#
|
|
#------------------------------------------------------------------------------
|
|
cd $WM_PROJECT_DIR || exit 1
|
|
|
|
tab=$'\t'
|
|
|
|
git grep -c -E "[ $tab]+"'$' -- $@
|
|
|
|
#------------------------------------------------------------------------------
|