- 博客(1)
- 资源 (2)
- 收藏
- 关注
原创 awk中的gsub函数
目标:对文件a.txt中含有send\ccr的行实施替换:将其中><item中插入换行符号:在windows下使用unixtools中的awk实现方式如下:awk -v file="send\\\\ccr" "{if($0~file){gsub(/gt;<item/,\"gt;\n\\^<item\")} print $0}" a.t
2012-01-08 11:53:05
1333
PuTTY 0.61
PuTTY is a free implementation of Telnet and SSH for Windows and Unix platforms, along with an xterm terminal emulator. It is written and maintained primarily by Simon Tatham.
2011-08-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人