egrep "god|good" ll.txt egrep "g(oo|al)d" ll.txt 转载于:https://www.cnblogs.com/todayORtomorrow/p/10730355.html