(scripts) fixed whitespaceremover
This commit is contained in:
@@ -64,8 +64,8 @@ function remove-whitespace {
|
||||
for arg in ${path_args[@]}; do
|
||||
files+=($(
|
||||
find "${arg}" \
|
||||
"${exclude_paths[@]/#/-not -path }" \
|
||||
"${exclude_files[@]/#/-not -name }" \
|
||||
${exclude_paths[@]/#/-not -path } \
|
||||
${exclude_files[@]/#/-not -name } \
|
||||
-type f \
|
||||
-exec grep -EIq "${grep_regex}" {} \; \
|
||||
-print
|
||||
|
||||
Reference in New Issue
Block a user