Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想要 Egrep 这个,来自一个文件:
egrep "check (hello)"
但 Egrep 不工作,因为“()”。如何进行?
你需要逃避它们:
egrep "check \(hello\)"
如果您不希望字符具有特殊含义,请使用fgrep, not 。egrep
fgrep
egrep