etch  ] [  etch-m68k  ] [  lenny  ] [  squeeze  ] [  sid  ]
[ Source: grep  ]

Package: grep (2.5.4-4) [essential]

GNU 文件搜索工具(grep, egrep 和 fgrep)

'grep' 是一个用于搜索文本文件的程序,它可以通过命令行调用,也可以从脚本中调用。也许你并不直接使用它,但是你系统中的其它程序很可能会用到它。

GNU 家族的 grep 系列工具可能是"西方最快的 grep"。GNU grep 基于一种快速 lazy-state 判决器(大约是 Unix egrep 的两倍快),并且融合了用于固定字符串搜索的 Boyer-Moore-Gosper 方法,在使用到完整的正则表达式判决器之前就预先排除完全不可能的文字,而无需逐字搜索。因此速度一般比 Unix grep 或者 egrep 要快许多倍。(但是包含了反向索引的正则表达式要处理得慢一些。)

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

Other Packages Related to grep

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.3.4) [hppa, i386, mips, mipsel]
    GNU C Library: Shared libraries
    also a virtual package provided by 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 Library: Shared libraries
    also a virtual package provided by libc6.1-udeb
  • dep: libgcc1 (>= 1:4.3) [armel]
    GCC support library
  • sug: libpcre3 (>= 7.7)
    Perl 5 Compatible Regular Expression Library - runtime files

Download grep

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 309.1 kB800 kB [list of files]
armel 300.7 kB1160 kB [list of files]
hppa 320.8 kB1180 kB [list of files]
i386 298.1 kB1156 kB [list of files]
ia64 373.0 kB1456 kB [list of files]
mips 310.9 kB1240 kB [list of files]
mipsel 310.6 kB1240 kB [list of files]
powerpc 311.2 kB1188 kB [list of files]
s390 314.4 kB1188 kB [list of files]
sparc 302.0 kB1176 kB [list of files]