
DESCRIPTION:

The program is basically a morse code decoder.
It takes dots (.)s and dashes (-)s into stdin and puts
the results out to stdout, it passes any other characters
straight through.  Type helpout<CR><EOF> and it will print
out a message and a table of the alphabet and the 
corresponding morse characters.  Another interesting thing
to do is to pipe cullman to itself (cat cullman | cullman).

HOW IT WORKS:

The top half of the program is a morse code decoder and
the second half of the program (written in morse code)
is the code for reading stdin, writing stdout, and displaying
help.  The program opens itself up and uses a regular expression
and a table of morse code data to decode the second half of the
program.  After the second half of the program is decoded it is 
evaled. The morse code data is stored in a 26 element array, with
A as the first B as the second ... etc.  Each element is a 
four digit base 3 number converted to decimal that describes
the morse code for that letter. 0 is blank,  1 is a dot and 
2 is a dash.  A, for example, is 0012 in base 3 or 5 in 
decimal or ".-" in morse.   


Cayce Ullman
cullman@etrade.com
8/8/98
