$ MYSTRING="Speed of Light" $ echo ${#MYSTRING} 14
$ echo -n "Speed of Light" 14
This is not POSIX complaint.
$ expr length "Speed of Light" 14
References
0 comments:
Post a Comment