首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

unix shell学习札记4

2012-10-06 
unix shell学习笔记45. sed$ sed 2,$d example$ sed /test/r file example-----file里的内容被读进来,

unix shell学习笔记4

5. sed

$ sed '2,$d' example

$ sed '/test/r file' example-----file里的内容被读进来,显示在与test匹配的行后面,如果匹配多行,则file的内容将显示在所有匹配行的下面

热点排行