#!/bin/bash# author: movekj.com# date: 2015.7.6# description: print 9*9 table# version: 0.0.1declare -i I=0declare -i J=0declare -i N=0for I in {0..8}do        A[$I]=$[$I+1]donewhile [ $J -le 8 ]do        for N in {0..8}        do                if [ $N -lt $J ]                then                        echo -en "${A[$J]}X${A[$N]}=\033[31m$[${A[$J]}*${A[$N]}]\033[0m\t"                else                        echo -e "${A[$J]}X${A[$N]}=\033[31m$[${A[$J]}*${A[$N]}]\033[0m"                        break                fi        done        let J++done