我想在特定文本之后的下一行中将输出插入文件...。在特定文本之后插入文本
在我的输出(Text1.txt)我有不同的线路用域名:
hxxp://example1.com
hxxp://example2.com
我想与文本行后插入该行到另一个文本文件(Text2.txt)“找到的URL“(注意:我不知道行号)。
bla
bla
bla
URLs found
hxxp://example1.com
hxxp://example2.com
bla
bla
我该怎么做?
AWK对我的作品。非常感谢你! – user3022917 2014-08-28 19:24:46