all options
bullseye  ] [  bookworm  ] [  trixie  ] [  forky  ] [  sid  ] [  experimental  ]
[ Source: grep  ]

Package: grep (3.12-1~exp1) [essential]

Links for grep

Screenshot

Debian Resources:

Download Source Package grep:

Maintainers:

External Resources:

Similar packages:

Experimental package

Warning: This package is from the experimental distribution. That means it is likely unstable or buggy, and it may even cause data loss. Please be sure to consult the changelog and other possible documentation before using it.

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: role::program, scope::utility, Application Suite: GNU, Purpose: Filtering, use::searching, works-with::file, Works with: Text

Other Packages Related to grep

  • depends
  • recommends
  • suggests
  • enhances

Download grep

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 428.9 kB1,281.0 kB [list of files]
arm64 425.7 kB1,333.0 kB [list of files]
armel 418.9 kB1,268.0 kB [list of files]
armhf 418.9 kB1,268.0 kB [list of files]
i386 436.2 kB1,296.0 kB [list of files]
loong64 (unofficial port) 430.8 kB1,333.0 kB [list of files]
m68k (unofficial port) 421.7 kB1,260.0 kB [list of files]
mips64el 426.3 kB1,344.0 kB [list of files]
ppc64el 440.4 kB1,333.0 kB [list of files]
s390x 432.5 kB1,305.0 kB [list of files]
sh4 (unofficial port) 440.8 kB1,269.0 kB [list of files]
sparc64 (unofficial port) 416.5 kB2,105.0 kB [list of files]
x32 (unofficial port) 429.0 kB1,272.0 kB [list of files]