Skip to content
/ randwords Public

This Mac or Linux CLI tool generates a series of random common words for Morse code practice, and prints to standard output. macOS.

License

Notifications You must be signed in to change notification settings

7402/randwords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This Mac or Linux CLI tool generates a series of random common words for Morse code practice, and prints to standard output. macOS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published