摘要: 一.统计字符串长度 1.wc –L [root@~_~day4]# echo "hello" | wc -L 5 2.expr length string [root@~_~day4]# echo `expr length "hello"` 5 3.${#String} [root@~_~day4] 阅读全文
posted @ 2017-04-08 22:25 ajilisiwei 阅读(1189) 评论(0) 推荐(0) 编辑