sed
摘要:一。语法: 1.直接修改源文件:sed -i 's/原字符串/替换字符/' filename or ‘grep xxx’ 2.不修改源文件,只在屏幕上输出:sed -e 's/原字符串/替换字符/' filename or ‘grep xxx’ 3. 执行sed脚本:sed -f “xxx” 二。写
阅读全文
posted @ 2018-04-04 08:58
posted @ 2018-04-04 08:58
posted @ 2018-04-03 08:42
posted @ 2018-04-03 08:26
posted @ 2018-04-03 08:23