标签:
例一:数组选择
#!/bin/sh menu=("Apple" "Grape" "Orange") PS3="喜欢哪个" select item in ${menu[@]};do echo "喜欢$item" done
shell2
原文地址:http://www.cnblogs.com/bluewelkin/p/4387468.html