标签:linux c filename name man pretty string span code ret
How to use grep to match multiple strings in the same line?
grep ‘string1\|string2‘ filename
grep -E "string1|string2" filename
标签:linux c filename name man pretty string span code ret
原文地址:http://www.cnblogs.com/emanlee/p/7952913.html