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

Package: grep (2.5.1.ds2-6) [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.5-1) [not alpha, i386, ia64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.3.6-6) [i386]
  • dep: libc6.1 (>= 2.3.5-1) [alpha, ia64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6.1-udeb

Download grep

Download for all available architectures
Architecture Package Size Installed Size Files
alpha 151.1 kB676 kB [list of files]
amd64 146.5 kB648 kB [list of files]
arm 145.5 kB433 kB [list of files]
hppa 150.9 kB656 kB [list of files]
i386 142.7 kB644 kB [list of files]
ia64 172.1 kB764 kB [list of files]
mips 149.8 kB680 kB [list of files]
mipsel 150.0 kB680 kB [list of files]
powerpc 148.4 kB656 kB [list of files]
s390 148.8 kB656 kB [list of files]
sparc 144.0 kB648 kB [list of files]