Suppose I have a list of words in a text file e.g:
abstinence ; abuse ; academic ; accommodate ; accommodation ; accommodationist ; accomplice ; accomplish ; accord ; account ; accountable ; acquiescence ; acrimonious ; acronym
I want to change each word to a URL and download the file using commands in a terminal window. For example the first word from the list, that is,
abstinence will change into
https://ssl.gstatic.com/dictionary/static/sounds/de/0/abstinence.mp3 and the file
abstinence.mp3 will be downloaded into a folder. Then the next word, that is,
abuse will change into the url
https://ssl.gstatic.com/dictionary/static/sounds/de/0/abuse.mp3 and the file
abuse.mp3 will be downloaded from the url and so on.
Can it be done using commad line in terminal or using a script run in command line?