En liste af danske ord

How to create a list of danish words with aspell (expect it to work for other languages as well):

Precondition: you have installed aspell and the dictionary

aspell --lang=da dump master > some-file-to-dump-the-words-into
head some-file-to-dump-the-words-into
A
a
å
ad
åd
ab
abandonner
abandonnér
abandonnere
abandonnerede