用sed修改配置文件id = 1timeA = "2012-03-04","2012-03-05","2013-03-06" timeB = "2012-03-04","2012-03-05","2013-03-06"我想修改timeB的时间,且保留空格,我该怎么写?我默认写的sed -i "s/timeB.*=/timeB =\"2012-04-04\",\"2012-04-05
来源:学生作业帮助网 编辑:作业帮 时间:2024/09/06 13:14:57
![用sed修改配置文件id = 1timeA =](/uploads/image/z/14260290-42-0.jpg?t=%E7%94%A8sed%E4%BF%AE%E6%94%B9%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6id+%3D+1timeA+%3D+%222012-03-04%22%2C%222012-03-05%22%2C%222013-03-06%22+timeB+%3D+%222012-03-04%22%2C%222012-03-05%22%2C%222013-03-06%22%E6%88%91%E6%83%B3%E4%BF%AE%E6%94%B9timeB%E7%9A%84%E6%97%B6%E9%97%B4%2C%E4%B8%94%E4%BF%9D%E7%95%99%E7%A9%BA%E6%A0%BC%2C%E6%88%91%E8%AF%A5%E6%80%8E%E4%B9%88%E5%86%99%3F%E6%88%91%E9%BB%98%E8%AE%A4%E5%86%99%E7%9A%84sed+-i+%22s%2FtimeB.%2A%3D%2FtimeB+%3D%5C%222012-04-04%5C%22%2C%5C%222012-04-05)
x){>eEqjʓMuϦ?ٽ-3EV$37P22045050QApL!c0LI܉h:&>kgӷEɎ)O}>u-أTbg
}Ovv