From 577ec0941235e52dcb39765c02c25444766ac2de Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 28 Jul 2025 14:45:57 +0200 Subject: [PATCH] contrithanks: fix for BSD `sed` tool Fixing on macOS, and possibly other BSDs: ``` sed: 83: ./docs/THANKS-filter: RE error: illegal byte sequence ``` Where line 83 contains `\xED`. Switch to raw encoding to avoid `sed` evaluating the stream of bytes. Ref: #18061 Closes #18062 --- scripts/contrithanks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/contrithanks.sh b/scripts/contrithanks.sh index 98eefc8ccd..59db5b876a 100755 --- a/scripts/contrithanks.sh +++ b/scripts/contrithanks.sh @@ -79,7 +79,7 @@ tail -n +7 ./docs/THANKS | sed 's/ github/ github/i' > $rand sed 's/, */\n/g'| \ sed 's/^ *//' } | \ -sed -f ./docs/THANKS-filter | \ +LC_ALL=C sed -f ./docs/THANKS-filter | \ sort -fu | \ grep -aixvFf ./docs/THANKS >> $rand -- 2.47.3