all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: grep  ]

Package: grep (3.11-4) [essential]

Links for grep

Screenshot

Debian Resources:

Download Source Package grep:

Maintainers:

External Resources:

Similar packages:

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: 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
armhf 410.4 kB1,197.0 kB [list of files]