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

Package: grep (2.5.3~dfsg-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.7-1) [not alpha, ia64]
    GNU C 函式庫:共用函式庫
    also a virtual package provided by libc6-udeb
  • dep: libc6.1 (>= 2.7-1) [alpha, ia64]
    GNU C 函式庫:共用函式庫
    also a virtual package provided by libc6.1-udeb
  • dep: libgcc1 (>= 1:4.3) [armel]
    GCC 支援函式庫

Download grep

Download for all available architectures
Architecture Package Size Installed Size Files
alpha 289.5 kB1252 kB [list of files]
amd64 282.6 kB1204 kB [list of files]
arm 274.2 kB1184 kB [list of files]
armel 272.1 kB1184 kB [list of files]
hppa 290.6 kB1204 kB [list of files]
i386 271.0 kB1180 kB [list of files]
ia64 343.0 kB1476 kB [list of files]
mips 283.3 kB1264 kB [list of files]
mipsel 281.7 kB1264 kB [list of files]
powerpc 284.6 kB1216 kB [list of files]
s390 285.3 kB1212 kB [list of files]
sparc 273.0 kB1196 kB [list of files]