Skip to content

Commit 0c55add

Browse files
committed
prelude_rearrange.sh: Use -print0
1 parent 99c8b01 commit 0c55add

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -euo pipefail
33

44
# Find all .sh files and process each one
5-
find . -type f -name "*.sh" | while IFS= read -r file; do
5+
find . -type f -name "*.sh" -print0 | while IFS= read -r -d '' file; do
66
# Check if file contains "prelude.sh"
77
if grep -qE "^\.[[:space:]]+(\.\./)*prelude\.sh$" "$file"; then
88
echo "Processing: $file"

0 commit comments

Comments
 (0)