根据grep-Programs的手册页,
此外,还有两个变体程序 egrep 和 fgrep 可用。egrep 与'grep -E' 相同。fgrep 与'grep -F' 相同。 不推荐使用 egrep 或 fgrep 的直接调用,但提供它是为了允许依赖它们的历史应用程序不加修改地运行。
此外,还有两个变体程序 egrep 和 fgrep 可用。egrep 与'grep -E' 相同。fgrep 与'grep -F' 相同。
不推荐使用 egrep 或 fgrep 的直接调用,但提供它是为了允许依赖它们的历史应用程序不加修改地运行。
为什么它们被弃用?
grep
grep ×1