Case -- esac number of arguments problem

hi Scripting experts, I am using case..esac in my script .. I have given 6 option..e.g. 1 2 3 4 5 and *, howerver my script works welll for 1st 4 options but for 5 it considers * and exists. Is there a maximum limit on number of options given for case ..esac?

Hello,

If you can show us the code it will good, but still please make sure you have put ;; at the end of each case .

Here is a rough exmple for same.

 case ${line}
in
                        1) echo "1st option";;
                        2) echo "2nd option";;
                        *) echo "Please select the appropriate option";;
esac

Thanks,
R. Singh