ceu-notes/1/ISO/examenes/tema11-naortega/ej6.sh

15 lines
144 B
Bash
Raw Normal View History

2022-04-29 17:49:41 +00:00
#!/bin/bash
function impar {
LIM=$1
seq 1 2 $LIM
}
if [ ${#1} -ne 3 ]
then
echo "Se requiere un número de 3 cifras."
exit 1
fi
impar $1