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 else $echor 'What is that ?' sleep 1 echo "Baby don't hurt me" sleep 1 echo "Don't hurt me" sleep 1 echo "No more..." exit 43 fi
bash/start.1598537364.txt.gz · Dernière modification : de jonathan
