morse - read morse and translate it to text
morse [files ...]
morse 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, morse 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.
The Perl implementation of morse was written by Abigail, perlpowertools@abigail.be.
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.
To install PerlPowerTools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PerlPowerTools
CPAN shell
perl -MCPAN -e shell install PerlPowerTools
For more information on module installation, please visit the detailed CPAN module installation guide.