免费注册
查看新帖
|
平台
论坛
博客
文库
动态
2016-06-17
菜单
junweitao
发表了新话题
2016-06-17 10:58
怎样用sed在某一行中间插入字符串
例如在脚本中有这样一串指令: writesdc -optionA aaa -optionB bbb ....... 要在这一行中间插入 -optionF fff,不能放在行末,怎样做到呢?
2016-05-27
菜单
junweitao
发表了新话题
2016-05-27 14:22
怎样将两个哈希里的分支对应起来
哈希如下: 'cases' => [ {'name' => 'VCD', 'opt' => {'dump_vcd1' => {'dump_start' => "280000 ns", ...
2016-05-16
菜单
junweitao
发表了新话题
2016-05-16 15:56
如何使用sed删除能匹配到多个字段的那几行
ucstarlib_lplvt_030l_12t/timing_full/ ucstarlib_lplvt_030l_9t/timing_full/ ucstarlib_lplvt_040l_12t/timing_full/ ucstarlib_lplvt_040l_9t/timing_f ...
菜单
junweitao
发表了新话题
2016-05-16 09:46
怎样在包含某个字符串的最后一行之后添加东东
例如有这样几行文本: pa_set abc 1 pa_set bcd 2 pa_set ghj 4 .... ..... 需要在包含pa_set的最后一行下面开始添加文本,该怎么做呢?能用sed处 ...
junweitao
串门
好友
博客
消息
积分 0, 距离下一级还需 积分