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 快很多倍。(不過如果常規表示式有包含 backreferencing,就會比較慢)

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 函式庫:共用函式庫
    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 函式庫:共用函式庫
    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]