]> iEval git - filters.git/blobdiff - moo.l
Removed cruft
[filters.git] / moo.l
diff --git a/moo.l b/moo.l
deleted file mode 100644 (file)
index 9da3091..0000000
--- a/moo.l
+++ /dev/null
@@ -1,122 +0,0 @@
-%e 2000
-%p 5000
-%n 1000
-%k 500
-%a 4000
-%o 2000
-BW [   ]
-EW [   .,;!?]
-
-%{ 
-/*
-** The cow filter
-**     by Benjamin Elijah Griffin      8 May 1994
-**
-** An experiment in lex written instead of a paper on Nietzsche.
-**
-** compile like this:
-**             lex moo.l
-**             cc -o moo lex.yy.c -ll
-**             rm lex.yy.c
-**
-** use like this:
-**             moo < infile > outfile
-**     or
-**             cat infile | <whatever> | moo | <whatever> > outfile
-**
-*/
-
-char WhAt[]="@(#)Benjamin Elijah Griffin's moo filter for cowtalk (c) 1994\n@(#)$Header: moo.l,v 1.1 94/05/08 23:37:53 bgriffin Final $"
-;
-
-%}
-
-%%
-
-" and "                                printf(" moond ");
-[Uu][Nn][Ii][Xx]               printf("Moonix");
-[Mm][Ss].[Dd][Oo][Ss]          printf("Moo Dos");
-news                           printf("moos");
-[Uu]senet                      printf("Moosnet");
-" man "                        printf(" mooster ");
-" men "                                printf(" moosters ");
-woman                          printf("moostress");
-women                          printf("moostresses");
-pig                            printf("cop");
-[Dd]airy.[Ff]armer             printf("Pimp");
-[Dd]airy.[Ff]arm               printf("Farm of Ill Repute");
-[Bb]eef.[Ff]armer              printf("Slave Driver");
-[Bb]eef.[Ff]arm                        printf("Prison");
-yogurt                         printf("bacteria culture");
-cheese                         printf("smega");
-curds                          printf("moist smega");
-whey                           printf("bile");
-buttermilk                     printf("foul fluid");
-butter                         { printf("sphinter lubrication");
-                               /* A _Last Tango in Paris_ joke */ }
-cream                          printf("honey");
-beef                           printf("murdered meat");
-grass                          printf("gourmet greenry");
-hay                            printf("subsistance rations");
-cereal                         printf("fomood");
-milkmaid                       printf("rapist");
-[Mm]aid.a.milkin       |
-[Mm]aid.a.milking              printf("Christmas Rapist");
-[Mm]aids.a.milkin      |
-[Mm]aids.a.milking             printf("Christmas Rapists");
-milking                                printf("rape");
-rape                           printf("milking");
-rapist                         printf("milkmaid");
-veal                           printf("the devil's food");
-"bull fighter"                 printf("Grim Reaper");
-"bull fight"                   printf("Game of Sorrows");
-milk                           printf("mead");
-Milk                           printf("Mead");
-"cafe con latte"       |
-capuccino                      printf("piss water");
-" "[In]"ndia "                 printf("Heaven");
-" "[In]"ndian "                        printf("heavenly");
-"sacred cow"                   printf("God");
-silo                           printf("calfeteria");
-divin                          printf("bovin");
-[Gg][Oo-][Dd]                  printf("Bovinity");
-sheep                          printf("dog(s)");
-relaxing                       printf("chewing the cud");
-relax                          printf("chew the cud");
-utter                          printf("udder");
-" udder"                       printf(" teat");
-" teat"                                printf(" udder");
-other                          printf("udder");
-":^)"                          printf("Mooooooooo!");
-":-)"                          printf("Moomoomoomoo!");
-"8-)"                          printf("Mooo! Mooo!");
-
-[aeiou]"."             {       *(yytext+1) = 0; 
-                               printf("%s. Moo.",yytext);
-                       }
-[rtpwy]"."             {       *(yytext+1) = 0; 
-                               printf("%s. Moo! Moo.",yytext);
-                       }
-"?"                            printf("? Moo.");
-"!"                            printf("! MOO!");
-oo                             printf("MOO");
-o                              printf("oo");
-O                              printf("Moo");
-you                            printf("moo");
-" u"                           printf("moo");
-" U"                           printf("Moo");
-"uu"                           printf("MOOO");
-u                              printf("oo");
-U                              printf("Oo");
-
-"."\n                          printf(".\nMooooo. ");
-
-.                              printf("%s",yytext);
-
-%%
-
-main()
-{
-       yylex();
-}
-
This page took 0.032523 seconds and 4 git commands to generate.