1、自己練習#!/bin/bash a=0 while : do a=`expr $a + 1` if [ $a -lt 4 ] then echo -n -e " 輸入號碼1 到9 \n" read Num case $Num