TP-systeme-exploitation-cen.../TP_Shell/verif/S2
2023-06-20 20:57:09 +02:00

8 lines
133 B
Plaintext

ans="\0"
until [ ${ans:0:1} = "o" ] || [ ${ans:0:1} = "n" ]
do
echo -n "Etes-vous satisfait ? (o/n) "
read ans
echo
done