morse
converts text to and from Morse code
TLDR
Convert text to Morse code
$ morse "[Hello World]"
Convert Morse to text$ morse -d "[.... . .-.. .-.. ---]"
Play Morse as sound$ morse -a "[Hello]"
Output with custom speed$ morse -w [20] "[text]"
Input from file$ morse < [file.txt]
SYNOPSIS
morse [options] [text]
DESCRIPTION
morse converts text to and from Morse code. It can produce audio output.
The tool encodes and decodes Morse. Supports audio playback on capable terminals.
PARAMETERS
TEXT
Text to convert to Morse code.-d
Decode Morse to text.-a
Play audio output.-w WPM
Words per minute speed.-s
Silent mode.--help
Display help information.
CAVEATS
Part of bsdgames. Audio requires sound support. ASCII output by default.
HISTORY
morse originated in BSD games, providing educational Morse code conversion since the early BSD distributions.
