|

楼主 |
发表于 2006-3-19 08:12:39
|
显示全部楼层
Post by johnny_jiang
- case "$Keypress" in
- [[:lower:]] ) echo "Lowercase letter";;
- [[:upper:]] ) echo "Uppercase letter";;
- [0-9] ) echo "Digit";;
- * ) echo "Punctuation, whitespace, or other";;
- esac
复制代码
This is more portable. From abs
谢谢johnny_jiang
另:From abs是什么意思? |
|