etch  ] [  etch-m68k  ] [  lenny  ] [  squeeze  ] [  sid  ]
[ 源代码: grep  ]

软件包: grep (2.5.1.ds2-6) [必备]

GNU grep、egrep 和 fgrep

“grep”是用于在文件中搜索文字的工具,它可能在命令行或脚本中使用。就算您不 打算使用它,系统上的其它软件包也可能会用到。

GNU 家族的 grep 工具大概是速度最快的 grep,基于 fast lazy-state deterministic matcher (速度大约是老 Unix grep 的两倍) 和 Boyer-Moore-Gosper 技术,在通过正 则表达式搜索一个固定字串时,可以事先淘汰掉不可能匹配上的文字而无须逐字检查。 结果通常会比 Unix grep 或 egrep 要快许多倍。然而,当正则表达式包含追溯前段内 容 (即 backreferencing) 时会慢很多。

标签: Implemented in: C, User Interface: Command Line, Role: Program, Scope: Utility, Application Suite: GNU, Purpose: Searching, Works with: Text

其它与 grep 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libc6 (>= 2.3.5-1) [除 alpha, i386, ia64]
    GNU C 语言运行库:共享库
    同时作为一个虚包由这些包填实: libc6-udeb
    dep: libc6 (>= 2.3.6-6) [i386]
  • dep: libc6.1 (>= 2.3.5-1) [alpha, ia64]
    GNU C 语言运行库:共享库
    同时作为一个虚包由这些包填实: libc6.1-udeb

下载 grep

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
alpha 151.1 kB676 kB [文件列表]
amd64 146.5 kB648 kB [文件列表]
arm 145.5 kB433 kB [文件列表]
hppa 150.9 kB656 kB [文件列表]
i386 142.7 kB644 kB [文件列表]
ia64 172.1 kB764 kB [文件列表]
mips 149.8 kB680 kB [文件列表]
mipsel 150.0 kB680 kB [文件列表]
powerpc 148.4 kB656 kB [文件列表]
s390 148.8 kB656 kB [文件列表]
sparc 144.0 kB648 kB [文件列表]