如何使用select语句?

如何使用select语句?

#!/bin/bash

select uu in "new game" "old game" "exit"
do
  echo $uu
  if [[ uu -eq "3" ]]
  then
     break
  fi
done
提示错误,如何改正?      
what's the error msg?      
./select: line 6: [[: old game: syntax error in expression (error token is "game")      
复制内容到剪贴板
代码:
[color=red]if [[ $uu -eq "3" ]][/color]
[color=green]if [[ "$uu" = "exit" ]][/color]
      
谢谢!谢谢!      
actually, u can solve most of ur problems on ur own.       
Yes,I don't read manual page carefully!