#!/bin/bash
for i in `seq 1 9`
do
echo -ne "$i\t"
for j in `seq 1 $i`
do
let "k=$i*$j"
echo -n "$j*$i=$k"
echo -ne "\t"
done
echo
done
#!/bin/bash
for i in `seq 1 9`
do
echo -ne "$i\t"
for j in `seq 1 $i`
do
let "k=$i*$j"
echo -n "$j*$i=$k"
echo -ne "\t"
done
echo
done