Notes for Linux Posted on 2018-07-24 | Views: Some notes for Linux “or” matching in grepUse1: 123grep -E 'word1|word2' filenameoregrep 'word1|word2' filename or 1grep 'word1\|word2' filename Donate WeChat Pay Alipay Post author: qifei9 Post link: https://qifei9.github.io/2018/linux-notes.html Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.