2015年8月20日

摘要: http://www.infoq.com/cn/articles/graphite-intro 阅读全文

posted @ 2015-08-20 17:54 NooBkey 阅读(149) 评论(0) 推荐(0)

摘要: #teststr="IBM"#sed -n '/' "$teststr" '/=' testfile.txt在sed中使用变量通常,我们使用sed进行变量替换的时候,替换和被替换变量都是hard-coded的。例如:sed -n ‘/comm/p’ /tmp/test.log如果我们用一变量var,... 阅读全文

posted @ 2015-08-20 11:24 NooBkey 阅读(1477) 评论(0) 推荐(0)


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3