I’m learning Te Reo Māori and have compiled an alphabetical list of new words, Kupu Hou. Now I want that list in random order to help with learning.

A brief search helped: using Terminal on the Mac, first get into the correct directory, then use the sort -R command with -o to write the list out to a file.

  1. miraz$ cd /Users/miraz/Downloads/kupu-hou
  2. miraz$ sort -R /Users/miraz/Downloads/kupu-hou/kupu.txt -o random.txt
Random kupu hou.

Miraz Jordan @Miraz

Please take a look at my Love Waikawa Beach website too.