From: Daniel Stenberg Date: Fri, 3 Jan 2025 17:15:44 +0000 (+0100) Subject: cleancmd.pl: strip out backticked words X-Git-Tag: curl-8_12_0~202 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc16211a300d96b371401ab73ac850fb2cf91673;p=thirdparty%2Fcurl.git cleancmd.pl: strip out backticked words To make sure they are not spellchecked. Also, leaving two backticks is not good because they cause the spellchecker to misinterpret the markdown file so they have to be removed as well. --- diff --git a/.github/scripts/cleancmd.pl b/.github/scripts/cleancmd.pl index e9366de740..355a845e4c 100755 --- a/.github/scripts/cleancmd.pl +++ b/.github/scripts/cleancmd.pl @@ -37,6 +37,9 @@ while() { } next if($ignore); + # strip out backticked words + $_ =~ s/`[^`]+`//g; + # strip out all long command line options $_ =~ s/--[a-z0-9-]+//g;