#!/bin/bash echo -e "Select language:\n" select name in EN NL DE FR do if [ $REPLY = 2 ] || [ $REPLY = "N" ] || [ $REPLY = "n" ] then aspell -l nl_NL.UTF-8 -H -c ${1} break elif [ $REPLY = 3 ] || [ $REPLY = "D" ] || [ $REPLY = "d" ] then aspell -l de_DE.UTF-8 -H -c ${1} break elif [ $REPLY = 4 ] || [ $REPLY = "F" ] || [ $REPLY = "f" ] then aspell -l fr_FR.UTF-8 -H -c ${1} break else aspell -H -c ${1} break fi done