TP-systeme-exploitation-cen.../TP_Shell/verif/S2

8 lines
133 B
Plaintext
Raw Normal View History

2023-06-20 18:57:09 +00:00
ans="\0"
until [ ${ans:0:1} = "o" ] || [ ${ans:0:1} = "n" ]
do
echo -n "Etes-vous satisfait ? (o/n) "
read ans
echo
done