Skip to content
Snippets Groups Projects
Commit fef1613e authored by Mark Olesen's avatar Mark Olesen
Browse files

ENH: add bin/tool/find-trailingwhitespace

parent b89a3dc2
Branches
Tags
No related merge requests found
#!/bin/bash
# -----------------------------------------------------------------------------
# Script
# find-trailingspace
#
# Description
# Search for files with trailing whitesapce
#
# -----------------------------------------------------------------------------
set -x
cd $WM_PROJECT_DIR || exit 1
tab=$'\t'
git grep -c -E "[ $tab]+"'$' -- $@
#------------------------------------------------------------------ end-of-file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment