gembin

          OSGi, Eclipse Equinox, ECF, Virgo, Gemini, Apache Felix, Karaf, Aires, Camel, Eclipse RCP

          HBase, Hadoop, ZooKeeper, Cassandra

          Flex4, AS3, Swiz framework, GraniteDS, BlazeDS etc.

          There is nothing that software can't fix. Unfortunately, there is also nothing that software can't completely fuck up. That gap is called talent.

          About Me

           

          Get the length of a string under UNIX/Linux

          there many ways to do so.

          str="hello world"

          len=`expr length ${str}`

          len=${#str}

          len=`echo ${str} | awk "{ print length }"`

          len=`echo -n ${str} | wc -c` 

           

          posted on 2012-04-01 15:14 gembin 閱讀(693) 評論(0)  編輯  收藏 所屬分類: Linux

          導航

          統計

          常用鏈接

          留言簿(6)

          隨筆分類(440)

          隨筆檔案(378)

          文章檔案(6)

          新聞檔案(1)

          相冊

          收藏夾(9)

          Adobe

          Android

          AS3

          Blog-Links

          Build

          Design Pattern

          Eclipse

          Favorite Links

          Flickr

          Game Dev

          HBase

          Identity Management

          IT resources

          JEE

          Language

          OpenID

          OSGi

          SOA

          Version Control

          最新隨筆

          搜索

          積分與排名

          最新評論

          閱讀排行榜

          評論排行榜

          free counters
          主站蜘蛛池模板: 凤翔县| 杭锦后旗| 新竹县| 临沧市| 永顺县| 吉木乃县| 宜都市| 嵊州市| 和田县| 胶州市| 仁布县| 德庆县| 隆尧县| 和平县| 通榆县| 旬阳县| 鹤壁市| 临武县| 迭部县| 保山市| 绥阳县| 安塞县| 张掖市| 镇安县| 江永县| 泰宁县| 乌兰浩特市| 蒙自县| 祁门县| 华安县| 肥东县| 莫力| 河源市| 新河县| 沅陵县| 涞水县| 界首市| 松潘县| 贵德县| 盘锦市| 遂昌县|