会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
aspirs
博客园
首页
新随笔
联系
订阅
管理
2022年9月24日
tmp
摘要: sed -n '1,3p' file表示 取文件 第一行到 第3行的内容; 在匹配行前一行、后一行添加新行 前一行: sed -i '/target string/istring line want to add' $input_file #target string不需要是目标行完整字串,取其一部
阅读全文
posted @ 2022-09-24 11:40 aspirs
阅读(277)
评论(0)
推荐(0)
编辑
公告