Thanks to both of you for responding. The empty quotes works best for what I wanted to do (which I should have been clearer on in the first place). I wanted to make the first choice in a menu the "default", ie, just hit <return>, and the empty quotes allow me to do that:
echo -e " Your selection, please: \c" read ans case "$ans" in 1 | "" ) echo "Selection 1";; 2 ) echo "Selection 2";; 3 ) echo "Selection 3";; * ) echo "Invalid choice";; esac _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list