From 6c8891ace8b6e3dfeec2c1c6cf661bf5870505e5 Mon Sep 17 00:00:00 2001 From: Paul Colby Date: Thu, 6 Feb 2025 18:01:15 +1100 Subject: [PATCH] Use null-termination to allow for fancy paths --- .selector.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.selector.sh b/.selector.sh index 934d2a0bd..ddc690e56 100755 --- a/.selector.sh +++ b/.selector.sh @@ -10,4 +10,4 @@ set -o errexit -o noclobber -o nounset -o pipefail -find "${1:-.}" -mindepth 2 -name '*.html' | xargs -n 1000 -P 8 -r awk -f '.selector' -i 'inplace' -- +find "${1:-.}" -mindepth 2 -name '*.html' -print0 | xargs -0 -n 1000 -P 8 -r awk -f '.selector' -i 'inplace' --