I'm sure writing all the badwords to a .txt file, and letting the script read from it to identify the badwords. Also adding an alias to add/remove badwords would be essential.
I would write it, but today I'm too lazy. :P
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.