Skip to content
This Mac or Linux CLI tool generates a series of random common words for Morse code practice, and prints to standard output. macOS.
C Roff Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
Makefile
README.md
main.c
randwords.1
words.c
words.h

README.md

randwords


Description

Command-line tool that generates a series of random words for Morse code practice, and prints to standard output.

Words are chosen from a selected subset of 5000 common English words.

Runs on Mac or Linux.

Usage

Use -c option to choose number of words per row.

Use -n option to choose total number of words.

Use -f option to choose starting point in list of words, e.g., -f 200 means start using words from the 200th most common word.

Use -t option to choose ending point in list of words, e.g., -t 500 means use words up to the 500th most common word.

Combine with mbeep to play Morse code. See example below.

For more information, see man page.

Build and install

  • macOS
cd path_to_directory
make
sudo make install
  • Linux
cd path_to_directory
make
sudo make install

Examples

Print 50 words selected from the most common 100 English words, with 10 words per row:

randwords -t 100 -n 50 -c 10

Play Morse code for 80 words selected from the 100th to 200th most common English words:

randwords -f 100 -t 200 -n 80 | mbeep -i /dev/stdin -c

Notes

See also Computer Tools for Morse Code Practice.

License

Mostly BSD

Portions CC-BY, CC0

You can’t perform that action at this time.