奇然无双 当前离线
二级士官
aaaaaa cccccc dddddd aaaaaa eeeeee dddddd aaaaaa bbbbbb dddddd aaaaaa ffffff dddddd复制代码
aaaaaa cccccc dddddd aaaaaa bbbbbb dddddd复制代码
awk 当前离线
上尉
gawk "{if($0~/dddddd/)$0=$0\"\n\"}1" a.txt | gawk -v RS= "/aaaaaa/{n++;if(n==1||n==3)print}"复制代码
TOP