把123換成456 :1,$s/123/456/g 1,$s/ALOGV/ALOGI 刪除所有包含str字串的行數 :g/str/d :g/{pattern}/d "删除匹配行 :v/{pattern}/d "保留匹配行