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

Package: grep (2.5.4-4) [essential]

GNU grep, egrep과 fgrep

‘grep’은 파일안에 있는 텍스트를 찾는 유틸리티입니다. 명령행이나 스크립트안에서 사용할 수 있습니다. 이렇게 사용할 일이 없다고 해도, 시스템 안의 다른 패키지가 grep을 이용할 것입니다.

grep의 GNU 버전은 “서양에서 가장빠른 grep”일 것입니다. GNU grep은 매우 빠른 대기 상태의 결정적인 방법으로 텍스트를 찾아주는 방식에 기초합니다. Unix의 egrep 보다 두 배는 빠릅니다. 이 방식은 Boyer-Moor-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 라이브러리: 공유 라이브러리
    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 라이브러리: 공유 라이브러리
    also a virtual package provided by libc6.1-udeb
  • dep: libgcc1 (>= 1:4.3) [armel]
    GCC 기능 지원 라이브러리
  • sug: libpcre3 (>= 7.7)
    Perl 5와 호환성있는 정규표현식 라이브러리 - 런타임 파일

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]