Source: http://aral.iut-rodez.fr/fr/sanchis/enseignement/IntroProgBash_2015-07-16.pdf