Grep

官方下载地址

Grep (2.5): 
ftp://ftp.gnu.org/gnu/grep/

Grep的内容

最后检查于 version 2.5.

包含的程序

egrep (链接至 grep), fgrep (链接至 grep) and grep

具体说明

egrep

使用扩展规则表达式模式(extended regular expression pattern),相当于grep -E.

fgrep

对固定字符串列表进行匹配,相当于grep -F.

grep

grep从参数指定的文件中(如果没有指定就从标准输入设备读取)搜索匹配给定模式(pattern)的行,将其输出.默认情况下grep使用基本规则表达式模式(basic regular expression pattern)。

安装Grep依赖于

最后检查于 version 2.4.2.

Autoconf: autoconf, autoheader
Automake: aclocal, automake
Bash: sh
Binutils: as, ld
Diffutils: cmp
Fileutils: chmod, install, ls, mkdir, mv, rm
Gettext: msgfmt, xgettext
Gcc: cc, cc1, collect2, cpp0, gcc
Glibc: getconf
Grep: egrep, fgrep, grep
M4: m4
Make: make
Gawk: gawk
Sed: sed
Sh-utils: basename, echo, expr, hostname, sleep, uname
Texinfo: install-info, makeinfo
Textutils: cat, tr