using grep find words that are 6 characters long from a file mywords.txt but must contain 2 characters b,d

后端 未结 0 1623
醉酒成梦
醉酒成梦 2020-12-01 16:21

I got the required answer but surely there is a better way to write my query? grep -v " " mywords.txt | grep -E "(.*b.*d|.*d.*b)" | egrep "\\b[a-z]{

相关标签:
回答
  • 消灭零回复
提交回复
热议问题