精确查找只包含“a”的行
grep -w "a" 1.txt
精确排查只包含“a”的行
grep -wv "a" 1.txt
grep精确查找
原文:https://www.cnblogs.com/soymilk2019/p/12781775.html