# sed 查找匹配行

查找匹配的行 sed -n '/str_you_want_search/'p file_name 统计匹配的行数 sed -n '/str_search/'p file_name|wc -l
相关文章
相关标签/搜索