Compare commits

..

2 Commits

Author SHA1 Message Date
scbj 2bd416e7f9 (git) reverted pager settings 2026-05-29 14:21:03 +02:00
zegonix e4469cb67d (scripts) fix for spaces in paths/arguments of whitespace remover 2026-05-29 14:20:59 +02:00
+1 -3
View File
@@ -97,14 +97,12 @@ function remove-whitespace {
fi fi
done done
excludes+=(")" "-type d" "-prune") excludes+=(")" "-type d" "-prune" "-o")
for arg in "${exclude_files[@]}"; do for arg in "${exclude_files[@]}"; do
excludes+=("-not" "-name" "${arg}") excludes+=("-not" "-name" "${arg}")
done done
excludes+=("-o")
for arg in "${path_args[@]}"; do for arg in "${path_args[@]}"; do
files=("$( files=("$(
find "${arg}" \ find "${arg}" \