#!/bin/bash
clear_stdin()
{
while read -n1 -t.1 a;do :;done
}
sleep 3
clear_stdin
echo -n "Введите a: "
read a
echo $a