📜  grep 是否适用于 gz 文件 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:31.834000             🧑  作者: Mango

代码示例1
gz files using the grep command. Unfortunately, grep command is not
working on my compressed files. ... You need to use zgrep command
which invokes grep on compressed or gzipped files. All options specified
are passed directly to the grep command or egrep command