Hacker News new | ask | show | jobs
by Bender 104 days ago
The file is called badwords.txt but that seems like a sub-optimal descriptor. It looks to be a substitution list word:replacement suggestion. Not really a ban.

Then from [1]

    print STDERR  "$f:$l:$c: error: found bad word \"$w\"\n";
    printf STDERR " %4d | %s\n", $l, $in;
                printf STDERR "      | %*s^%s\n", length($p), " ",
                    "~" x (length($w)-1);
    printf STDERR " maybe use \"%s\" instead?\n", $alt{$w};
[1] - https://github.com/curl/curl/blob/master/.github/scripts/bad...