Replace all whitespace with a line break/paragraph mark to make a word list
For reasonably modern versions of sed, edit the standard input to yield the standard output with $ echo ‘τέχνη βιβλίο γη κήπος’ | sed -E -e ‘s/[[:blank:]]+/\n/g’ τέχνη βιβλίο γη κήπος If your vocabulary words are in files named lesson1 and lesson2, redirect sed’s standard output to the file all-vocab with sed -E -e ‘s/[[:blank:]]+/\n/g’ … Read more