2023年12月21日
摘要: 1.关键字“或”的搜索, -E 不能少。grep -E "word1|word2|word3" file.txt满足任意条件(word1、word2和word3之一)将匹配。 2.关键字“且”的搜索grep word1 file.txt | grep word2 |grep word3必须同时满足三 阅读全文
posted @ 2023-12-21 14:36 oktokeep 阅读(52) 评论(2) 推荐(0)