bash:start
Ceci est une ancienne révision du document !
Bash
read -p 'Magic question ? (y/n) ' -r magicVar if [[ "$magicVar" =~ ^([yY][eE][sS]|[yY]|[oO][uU][iI]|[oO])$ ]] then echo "Okay, let's go !" elif [[ "$magicVar" =~ ^([nN][oO]|[nN]|[nN][oO][nN])$ ]] then echo 'At your command...' exit 42 fi
bash/start.1598537116.txt.gz · Dernière modification : de jonathan
