摘要: sed '1,/2021-03-23/d' mysql-error.log # print all after match sed -n '1,/2021-03-23/p' mysql-error.log # print all before match starting=$(sed -n '{/^ 阅读全文
posted @ 2021-03-25 14:35 sam_wang10 阅读(27) 评论(0) 推荐(0) 编辑