Tyleo-Dev-ShellScripting-Ol.../SH/dialog01.sh

16 lines
208 B
Bash
Raw Normal View History

2024-02-18 21:29:57 +00:00
#!/usr/bin/env bash
printf '
Dialogue entre deux personne
'
echo "Type 'start'"
read start
if [[ $start = start ]]; then
read dialog
echo "Bonjour"
read dialog
echo "Oui et toi?"
exit
else
echo
exit
fi