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