Not sure if I should put this on stackoverflow or unix.stackexchange but I found some similar questions here, so here it goes.
I\'m trying to create a script to be c
Try setting the read delimiter to an empty string then check the builtin $REPLY variable:
read -d'' -s -n1
For some reason I couldn't get it to work specifying a variable.