我写这个是为了找到字符串的长度,但它没有显示字符串的长度.
我写的东西有问题吗?我只是bash的初学者.
Str=abcdefghj echo "Str is:" `expr length $Str` "characters long"
bash shell
bash ×1
shell ×1