#!/bin/bash
# Пример case esac
clear
echo -n "Please enter [Y/yes] :"
read YN
case $YN in
     [yY] | [yY][eE][sS])
              echo "You enter $YN"
              ;;
     *)
              echo "You don't enter [Y/yes]"
esac
exit 0