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