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.
This commit is contained in:
Daniel Stenberg 2025-01-03 18:15:44 +01:00
parent 0e120c5b92
commit cc16211a30
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -37,6 +37,9 @@ while(<F>) {
}
next if($ignore);
# strip out backticked words
$_ =~ s/`[^`]+`//g;
# strip out all long command line options
$_ =~ s/--[a-z0-9-]+//g;