This is just a simple text filter that I knocked up in about ten
minutes using "flex". For the uninitiated: "flex" is a program that
can be used to generate scanners, which look for patterns in text and
do something based on those patterns.
If you've seen South Park on television, you'll be familiar with Kenny
McCormick, the kid with the thick coat who dies in almost every
episode. Because he has his coat buttoned up over his mouth,
everything he says comes out muffled. This filter will "muffle" a
text file, as if Kenny is saying it :-)
It filters from standard input to standard output, so you can Kennify
a text file like this:
kenny <infile >outfile
If your shell supports Unixoid piping, you can use it like this:
kenny <infile | more
Or why not have your computer _talk_ like Kenny?
kenny <infile >SPEAK:
Example output:
5.Ram Disk:kenny% echo "The cat sat on the mat." | kenny
Mrr mrr mrr mr mrr mrr.
As you will have gathered by now, this program is basically completely
useless. Still, it's quite "cool", and every South Park Amigan will
want it in his or her C: directory :-) You might want to implode the
binary; it's extremely large for what it does; this is a feature of
"flex".
Contact the author, Stephen Williams, at sw@nysa.u-net.com
Web presence: http://www.nysa.u-net.com/
|