X-Git-Url: https://git.llucax.com/z.facultad/75.08/llamadas.git/blobdiff_plain/133343f8e789e1c17cc97e03f4ad5ea08a90b206..e8a427f2a1bc8fce0e9fe98be4cc86362daedd97:/util.sh diff --git a/util.sh b/util.sh index 3f9352e..9569636 100755 --- a/util.sh +++ b/util.sh @@ -31,7 +31,7 @@ preguntar () { PREGUNTA=$1 OPCIONES=$2 while [ true ] ; do - read -p "$PREGUNTA : " RTA + read -p "$PREGUNTA [$OPCIONES]: " RTA IS_OK=`echo "$OPCIONES" | grep "$RTA"` if [ ! -z "$IS_OK" ] && [ ! -z "$RTA" ] ; then eval "$3=$RTA"