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 閱讀(725) 評(píng)論(0)  編輯  收藏 所屬分類: Linux

          導(dǎo)航

          統(tǒng)計(jì)

          常用鏈接

          留言簿(6)

          隨筆分類(440)

          隨筆檔案(378)

          文章檔案(6)

          新聞檔案(1)

          相冊(cè)

          收藏夾(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

          最新隨筆

          搜索

          積分與排名

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          free counters
          主站蜘蛛池模板: 都江堰市| 鸡泽县| 衢州市| 泸水县| 红原县| 黎平县| 嘉善县| 克拉玛依市| 乌什县| 苍山县| 甘孜| 武宁县| 芦山县| 太原市| 重庆市| 会宁县| 大宁县| 潞城市| 台南市| 太原市| 嘉义县| 若尔盖县| 阆中市| 新泰市| 额尔古纳市| 咸宁市| 灌南县| 额敏县| 临高县| 鄂托克旗| 宝鸡市| 封丘县| 河北省| 安陆市| 四平市| 绥江县| 武宁县| 罗定市| 阿瓦提县| 乌拉特前旗| 平原县|