* Written by Stephen K Mulrine <smulrine%cs.strath.ac.uk@nsfnet-relay.ac.uk>
* Make copies if you want etc.etc.
*
+ * Contacted author in June 2001, asked him to clarify the license, he replied
+ * with some improvements and placed the program in the public domain.
+ * -- Edward Betts <edward@debian.org> Mon, 11 Jun 2001 12:04:29 +0100
+ *
* ken is named after Ken the Chirpy Cockney Character from the Viz Comic (tm),
* who speaks somewhat like that.
*/
[Aa][Ll][Gg][Oo][Ll] printf("Johnny Ball");
[Ff][Oo][Rr][Tt][Rr][Aa][Nn] printf("Manfred Mann");
[Cc][Oo][Bb][Oo][Ll] printf("Albert Hall");
+[Jj]ava printf("Wot a palavah");
+W[aA][pP] printf("Pony and trap");
+" wap" printf(" pony and trap");
Stopped printf("'Ad the mockers put on");
stopped printf("'ad the mockers put on");
Stopping printf("Putting the mockers on");
Wh printf("W");
wh printf("w");
aw printf("or");
-" sing" ECHO;
-" ring" ECHO;
+" "[BbKkMmPpRrSsWw]ing ECHO;
+" "[Bb]ring ECHO;
+" "[Ss]ting ECHO;
+" "[Ss]wing ECHO;
+" "[CcFfSs]ling ECHO;
+" Thing" printf(" Fing");
+" thing" printf(" fing");
+
"ing " printf("in' ");
-" th" printf(" f");
-"th" printf("ff");
". " { switch(rand()%32)
{
case 0: printf(". I'll get out me spoons. "); break;
. printf(yytext);
\n printf("\n");
%%
-
-main()
-{
- srand(getpid());
- yylex();
-}