16 * Modification History
18 * - Created Sat Feb 26 04:02:01 EST 1994 by Dave Baggett <dmb@ai.mit.edu>,
19 * who obviously had too much time on his hands. Based on the earlier
20 * "jive" filter of unknown origin.
22 * -------------------------------------------------------------------------
23 * To build the B1FF filter, do the following:
26 * cc -o biff lex.yy.c -ll
29 * Optionally replace lex and cc above with flex and gcc.
31 * To use the executable, pipe stuff to it; e.g.,
39 char WhAt[]="@(#)DAVE BAGGETT-S B1FF!!1 FlLTER + A CHANGE OR 2 BYE BGRIFFIN\n@(#)$Header: b1ff.l,v 1.4 94/05/07 20:42:53 bgriffin Final $";
45 " and " printf(" + ");
46 " plus " printf(" + ");
47 "you're" printf("YOUR");
53 "they're" printf("THE1R");
54 their printf("THERE");
55 there printf("THEY'RE");
57 etc printf("U GET THE 1DEA");
58 e[.]g[.] printf("LAIK THIS");
59 i[.]e[.] printf("U NOE LAIK");
60 " are " printf(" R ");
66 total printf("TODAL");
67 "and I" printf("+ ME");
72 interesting printf("C00L");
75 useful printf("K00L");
77 functional printf("RAD");
78 excellent printf("X-L-ENT");
79 very printf("TOTALLY");
81 really printf("REAL");
83 recent printf("RAD NU");
85 result printf("TH1NG");
86 ramification printf("TH1NG");
87 reason printf("TH1NG");
88 conclusion printf("TH1NG");
89 results printf("STUFF");
90 ramifications printf("STUFF");
91 reasons printf("STUFF");
92 conclusions printf("STUFF");
94 files printf("WAREZ");
95 program printf("GAME");
96 programs printf("WAREZ");
97 game printf("KRACKED GAME");
98 games printf("GAMEZ");
99 [Uu][Nn][Ii][Xx] printf("THE MANEFRA1M O/S");
100 [Dd][Oo][Ss] printf("THE VIC-20 TAPE DRIVE SCR1PTER");
102 computer printf("VIC-20");
103 workstation printf("MANEFRA1M");
104 supercomputer printf("MANEFRAM");
105 [Cc]ray printf("K1CKASS MANEFRA1M");
106 "Connection Machine" printf("TODALY RAD KOMPUTUR BRANE");
107 machine printf("VIC-20");
108 [Aa][Tt][Aa][Rr][Ii] printf("PEACE UV SH1T ATAR1");
109 [Aa][Pp][Pp][Ll][Ee] printf("PEACE UV SH1T APPEL");
110 [Aa][Mm][Ii][Gg][Aa] printf("WORKSTASHUN");
111 [Mm]acintosh printf("MACK1NTRASH");
112 upload printf("U/L");
113 download printf("D/L");
117 receive printf("D/L");
118 ftp printf("XMODEM");
121 [Pp]ascal printf("THAT WUSSY LANGUAGE");
122 [Mm]odula.[23] printf("THAT WUSSY SH1T LANGUAGE");
123 [Ll]isp printf("THAT KOMPUTUR BRANE LANGUAGE");
124 [Ss]cheme printf("THAT TODAL NURD LANGUAGE");
125 [Aa]da printf("THAT K00L NU ARMY LANGUAGE");
126 [Pp]ost[Ss]cript printf("PRINTUR KODEZ");
127 [Aa]ssembly printf("CPU KODE");
128 [Aa]ssembler printf("CPU KODE");
130 newsgroup printf("MESSAGE BASE");
131 news printf("MESSAGES");
132 thread printf("BOARD");
133 [Uu]senet printf("THE MANEFRAIM BOARDZ");
134 [Nn]et[Nn]ews printf("THE BOARDZ");
136 fool printf("LUZER");
137 moron printf("LAMER");
138 idiot printf("LAMER");
139 jerk printf("HOZER");
140 dweeb printf("LUZER");
141 geek printf("HOZER");
142 nerd printf("LUZER");
144 " man " printf(" D00D ");
145 " men " printf(" D00DZ ");
146 woman printf("BABE");
147 women printf("BABEZ");
149 husband printf("LOVERD00D");
150 girlfriend printf("PEACE");
151 boyfriend printf("STUD");
152 girl printf("TODAL BABE");
153 person printf("D00D");
154 people printf("D00DZ");
155 friend printf("FRE1ND");
158 "got to" printf("GOTTA");
159 "want to" printf("WANNA");
160 "have to" printf("HAFTA");
163 "using" printf("UZE1NG");
165 " car " printf(" WHEELS ");
166 " eat " printf(" NARF ");
168 police printf("P1GZ");
171 human printf("D00D");
172 occasionally printf("SUMTIMZ");
174 whose printf("WHO'S");
175 who's printf("WHOSE");
176 "who is" printf("WHOSE");
177 "ought to" printf("OTTA");
178 "need to" printf("GOTTA");
179 "should" printf("OTTA");
180 "tonight" printf("2NITE");
181 together printf("2GETHR");
182 tomorrow printf("2MOROW");
183 today printf("LAST NITE");
184 to-day printf("2DAY");
185 " food " printf(" PIZZA ");
186 coke printf("MOUNTIN DOO");
187 pepsi printf("MOUNTIN DOO");
188 caffeine printf("COKE");
189 coffee printf("SPEED");
190 [Nn]yquil printf("SMACK");
191 night printf("NITE");
193 " believe" printf(" TH1NK");
194 phone printf("FONE");
195 freak printf("PHREAK");
196 [Kk][Ii*-][Bb][Oo*-] printf("THE FONT GUY");
197 [nN]et[htw][ar][cer][ke] { /* nethack nettrek netware */
199 chess printf("PONG");
200 [Ss]"treet "[Ff]ighter printf("POLL POSIT1ON");
202 amateur printf("LAMER");
203 " of " printf(" UV ");
205 "meta " printf("ALT/CAPSLOCK ");
207 "talk" printf("1NTERFACE");
208 "sort of" printf("SORTA");
209 "kind of" printf("K1NDA");
210 magazine printf("ZINE");
213 ":-)" printf("HAHAHAHA!!1!1!1!!!1!!!");
214 "8-)" printf("ITZA JOKE YA NOE");
216 [dgmnr]"." { *(yytext+1) = 0;
218 sprintf(buf, "%s!",yytext);
222 [efhkpst]"." { *(yytext+1) = 0;
224 sprintf(buf, "%s,",yytext);
228 [bclw]"." { *(yytext+1) = 0;
230 sprintf(buf, "%s...",yytext);
234 [a-e]"?" { upcase(yytext); printf(yytext); printf("?"); }
235 [f-j]"?" { upcase(yytext); printf(yytext); printf("??"); }
236 [k-o]"?" { upcase(yytext); printf(yytext); printf("!?1?"); }
237 [p-t]"?" { upcase(yytext); printf(yytext); printf("!?1?!?"); }
238 [u-z]"?" { upcase(yytext); printf(yytext); printf("?1?!?1?!"); }
239 [a-e]"!" { upcase(yytext); printf(yytext); printf("!"); }
240 [f-j]"!" { upcase(yytext); printf(yytext); printf("!!"); }
241 [k-o]"!" { upcase(yytext); printf(yytext); printf("!1!"); }
242 [p-t]"!" { upcase(yytext); printf(yytext); printf("!!1!"); }
243 [u-z]"!" { upcase(yytext); printf(yytext); printf("!1!!1"); }
247 [a-z]":" { *(yytext+1) = ',';
249 sprintf(buf, "%s L1KE:",yytext);
252 [iI] { count++; if (count % 3 == 0) printf("1"); else printf("I"); }
282 . { upcase(yytext); printf(yytext); }