- #!/bin/bash
- echo -n "Introduce numero de tabla: "
- read Tabla
- echo -n "Introduce numero final: "
- read Final
- Index=1
- while [ $Index -le $Final ]; do
- echo -e "$Index\t*\t$Tabla\t=\t$(expr $Index '*' $Tabla)"
- Index=$(expr $Index + 1)
- done
- #for Index in $(seq $Final); do
- # echo -e "$Index\t*\t$Tabla\t=\t$(expr $Index '*' $Tabla)"
- #done
|