X-Git-Url: http://git.ieval.ro/?p=filters.git;a=blobdiff_plain;f=chef;h=44bb19d933c3f43fa2e120f957883b2ab40c8c28;hp=23d0e6a39d4366e299633957f43e644e0fb38c5f;hb=da14ec45da76c379a14a65ddc75c2d1341966530;hpb=7e3afbbacdd24f8c3fb87599eeda32b977fe6d6c diff --git a/chef b/chef index 23d0e6a..44bb19d 100755 --- 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.