公告
财富商城
积分规则
提问
发文
2019-02-25 04:51发布
Fickle 薄情
Let's say I want to check if the first argument is 2 characters long. I tried
if [ ${#$1} -e 2]
but it doesn't work.
-eq
]
All in all:
if [ ${#1} -eq 2 ] then echo "It's two characters long" fi
最多设置5个标签!
-eq
for numerical comparison]
:All in all: