demorse -- read morse and translate it to text
demorse [files ...]
demorse reads morse from files, (or from standard input if no files are given), and translates it back to text. Morse can be given in either short (-- --- .-. ... .) or long form (daw daw, daw daw daw, dit daw dit, dit dit dit). In the short form, letters are separated by spaces, and words by 2 spaces (or the morse symbol for space). In the long form, letters are separated by 2 spaces, and words by 3. As a special features, demorse parses the output of morse(6), which writes each letter on a comma terminated line.
Short and long form can be mixed, as well as morse(6) format and space separated letters.
Any characters that can't be interpreted as part of the morse sequence is copied untouched. The program will die when encountering a series of dots and dashes that it cannot translate.
The working of morse is not influenced by any environment variables.
morse will report an unknown sequence of dots and dashes in short form, even if the input was given in dits and daws.
$Log: morse,v $ Revision 1.2 2004/08/05 14:17:43 cwest cleanup, new version number on website Revision 1.1 2004/07/23 20:10:13 cwest initial import Revision 1.1 1999/03/06 03:58:58 abigail Initial revision
The Perl implementation of demorse was written by Abigail, firstname.lastname@example.org.
This program is copyright by Abigail 1999.
This program is free and open software. You may use, copy, modify, distribute and sell this program (and any modified variants) in any way you wish, provided you do not restrict others to do the same.