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

软件包: grep (2.5.3~dfsg-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.7-1) [除 alpha, ia64]
    GNU C 语言运行库:共享库
    同时作为一个虚包由这些包填实: libc6-udeb
  • dep: libc6.1 (>= 2.7-1) [alpha, ia64]
    GNU C 语言运行库:共享库
    同时作为一个虚包由这些包填实: libc6.1-udeb
  • dep: libgcc1 (>= 1:4.3) [armel]
    GCC支持库

下载 grep

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
alpha 289.5 kB1252 kB [文件列表]
amd64 282.6 kB1204 kB [文件列表]
arm 274.2 kB1184 kB [文件列表]
armel 272.1 kB1184 kB [文件列表]
hppa 290.6 kB1204 kB [文件列表]
i386 271.0 kB1180 kB [文件列表]
ia64 343.0 kB1476 kB [文件列表]
mips 283.3 kB1264 kB [文件列表]
mipsel 281.7 kB1264 kB [文件列表]
powerpc 284.6 kB1216 kB [文件列表]
s390 285.3 kB1212 kB [文件列表]
sparc 273.0 kB1196 kB [文件列表]