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

软件包: grep (2.5.4-4) [必备]

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.4) [hppa, i386, mips, mipsel]
    GNU C 语言运行库:共享库
    同时作为一个虚包由这些包填实: libc6-udeb
    dep: libc6 (>= 2.4) [armel, powerpc, s390]
    dep: libc6 (>= 2.6) [sparc]
    dep: libc6 (>= 2.7-1) [amd64]
  • dep: libc6.1 (>= 2.3.4) [ia64]
    GNU C 语言运行库:共享库
    同时作为一个虚包由这些包填实: libc6.1-udeb
  • dep: libgcc1 (>= 1:4.3) [armel]
    GCC支持库
  • sug: libpcre3 (>= 7.7)
    Perl 5 Compatible Regular Expression Library - runtime files

下载 grep

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 309.1 kB800 kB [文件列表]
armel 300.7 kB1160 kB [文件列表]
hppa 320.8 kB1180 kB [文件列表]
i386 298.1 kB1156 kB [文件列表]
ia64 373.0 kB1456 kB [文件列表]
mips 310.9 kB1240 kB [文件列表]
mipsel 310.6 kB1240 kB [文件列表]
powerpc 311.2 kB1188 kB [文件列表]
s390 314.4 kB1188 kB [文件列表]
sparc 302.0 kB1176 kB [文件列表]