mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
14 lines
399 B
Bash
Executable File
14 lines
399 B
Bash
Executable File
#!/bin/sh
|
|
#------------------------------------------------------------------------------
|
|
# Script
|
|
# git-find-trailingspace
|
|
#
|
|
# Description
|
|
# Use git grep to find files with trailing whitespace
|
|
#
|
|
#------------------------------------------------------------------------------
|
|
|
|
git grep --count -P '\s+$' -- $@
|
|
|
|
#------------------------------------------------------------------------------
|