2015年8月20日

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

posted @ 2015-08-20 17:54 NooBkey 阅读(137) 评论(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 阅读(1463) 评论(0) 推荐(0) 编辑


Copyright © 2024 NooBkey
Powered by .NET 8.0 on Kubernetes