From: Viktor Szakats Date: Mon, 28 Jul 2025 12:45:57 +0000 (+0200) Subject: contrithanks: fix for BSD `sed` tool X-Git-Tag: curl-8_16_0~351 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=577ec0941235e52dcb39765c02c25444766ac2de;p=thirdparty%2Fcurl.git 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 --- 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