# sed 查找匹配行

查找匹配的行 sed -n '/str_you_want_search/'p file_name 統計匹配的行數 sed -n '/str_search/'p file_name|wc -l
相關文章
相關標籤/搜索