例一:数组选择
#!/bin/sh menu=("Apple" "Grape" "Orange") PS3="喜欢哪个" select item in ${menu[@]};do echo "喜欢$item" done