linux中expr用法
摘要:
名称:expr ### 字串长度 shell>>exprlength "this is a test" 14 ### 数字商数 shell>> expr 14 % 9 5 ### 从位置处抓取字串 shell>> exprsubstr"this is a test" 3 5 is is ### 数字串 only the first character shell>> expr index "testforthegame" e 2 ### 字串真实重现 shell>> expr 阅读全文
posted @ 2013-07-16 21:17 yi_meng 阅读(2248) 评论(0) 推荐(0)
浙公网安备 33010602011771号