免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库

动态

2014-09-17

2013-09-23

  • rabbitkn 发表了新话题 2013-09-23 17:40
    sed 获取配置文件字段值
    custom.conf 为配置文件,内容可能如下: #HostName = devicename #Model = device model dm.Manufacturer= M1 dm.Model = MP2 bluetooth.Host= test blu ...

2013-08-29

  • rabbitkn 发表了新话题 2013-08-29 18:55
    sed 多条件匹配插入行问题
    文件中包含如下内容,行数不固定 test.conf # 1 condition # 2 condition 4 condition 如何在非#注释行匹配存在condition的行,并且 ...