摘要: 在Shell里面判断字符串是否为空分类:Linux shell2011-12-28 23:1815371人阅读评论(0)收藏举报shell主要有以下几种方法:echo “$str”|awk '{print length($0)}'expr length “$str”echo “$str”|wc -c... 阅读全文
posted @ 2015-05-18 18:36 archoncap 阅读(1029) 评论(0) 推荐(0) 编辑