标签:sed

全栈

linux 下 sed 用例

创建测试文件 cat > a.txt << END docker nl sed gearman nlp lua rpm END 删除3到5行 nl a.txt | sed '3,5d' 替换3到5行 nl a.txt | sed '3,5c lua' ...

shanhuhai 9年前 (2015-06-19) 2444℃ 0喜欢