Linux鳥哥視頻學習筆記23

正則表達式3 sed cat -n test | sed '/good/ a this is append by good!' cat -n test | sed '/good/ i this line is insert by bood' sed -n '2,/is/'p test 顯示出匹配到的內容 sed -n '/good/=' test 打印出匹配到good的行號 如果需要對同一文件或同
相關文章
相關標籤/搜索