1 2 3 4 5 6 7 8 9 10 11 |
#!/bin/bash opc="" until [ "$opc" != "" ] do echo echo "indica un nombre" read opc if [ "$opc" = "" ];then echo " Error: Introduce un nombre valido" fi done |
1 2 3 4 5 6 7 8 9 10 11 |
#!/bin/bash opc="" until [ "$opc" != "" ] do echo echo "indica un nombre" read opc if [ "$opc" = "" ];then echo " Error: Introduce un nombre valido" fi done |