I'm trying to make a bash script, validate a directory using regular expressions, what I have is the following.
echo "Ingresa La ruta de tu directorio"
read ruta
if [ $ruta != '^/[a-zA-Z]$' ];then
echo "No has ingresado una ruta valida, re...
asked by
14.02.2016 / 22:21