Fix spelling issues found by codespell
[filters.git] / chef
diff --git a/chef b/chef
index 23d0e6a39d4366e299633957f43e644e0fb38c5f..44bb19d933c3f43fa2e120f957883b2ab40c8c28 100755 (executable)
--- a/chef
+++ b/chef
@@ -33,16 +33,16 @@ s/o/oo/g;
 # Have to double "Oo" seperatly.
 s/(\b)O(\w)/$1Oo$2/g;
 # Fix the word "bork", which will have been mangled to "burk"
-# by above commands. Note that any occurence of "burk" in the input
+# by above commands. Note that any occurrence of "burk" in the input
 # gets changed to "boork", so it's completly safe to do this:
-s/\bburk\b/bork/;
+s/\b([Bb])urk\b/$1ork/g;
 
 # Stuff to do to letters that are the first letter of any word.
 s/\be/i/g;
 s/\bE/I/g;
 
 # Stuff that always happens.
-s/teeun/shun/g; # this actually has the effect of changing "tion" to "shun".
+s/tiun/shun/g; # this actually has the effect of changing "tion" to "shun".
 s/the/zee/g;
 s/The/Zee/g;
 tr/vVwW/fFvV/;
@@ -56,8 +56,8 @@ s/En/Un/g; # this actually has the effect of changing "An" to "Un".
 s/eoo/oo/g; # this actually has the effect of changing "au" to "oo".
 s/Eoo/Oo/g; # this actually has the effect of changing "Au" to "Oo".
 
-# Change "ow" at end of word to "oo".
-s/uv\b/oo\b/g;
+# Change "ow" to "oo".
+s/uv/oo/g;
 
 # Change 'i' to 'ee', but not at the beginning of a word,
 # and only affect the first 'i' in each word.
This page took 0.0101 seconds and 4 git commands to generate.