reformat input as morse code
morse command reads the given input
and reformats it in the form of morse code. Acceptable input are command
line arguments or the standard input.
The options are as follows:
- Decode dot-dash morse (as generated by the
-soption) back into text. A lowercase ‘x’ is printed for undecipherable input; otherwise, text is returned uppercase. Many procedural signs can be decoded (though not encoded). If the morse to be translated is given on the command line, it should be preceded by ‘--’ to keep it from being mistaken for options.
- Produce dots and dashes rather than words.
ITU-T Recommendation F.1, Operational provisions for the international public telegram service, Division B, I. Morse code.
ITU-R M.1677-1, International Morse code, https://www.itu.int/rec/R-REC-M.1677-1-200910-I/, 2009.