Home

The textproc/the_silver_searcher port

the_silver_searcher-2.2.0p2 – code searching tool, with a focus on speed (ag) (cvsweb github mirror)

Description

The silver searcher (also known as ag) is a fast text searching tool
similar to grep or ack. It performs faster than ack, yet is also aware
of ignore files of git and mercurial repositories and does not search
files listed in ignore files. It further utilises threads and advanced
features of PCRE to further improve performance.

* Searching for literals (no regex) uses Boyer-Moore-Horspool strstr.
* Files are mmap()ed instead of read into a buffer.
* Regex searches use PCRE 8.21+'s JIT compiler.
* Ag calls pcre_study() before executing the regex on a jillion files.
* Instead of calling fnmatch() on every pattern in your ignore files,
  non-regex patterns are loaded into an array and binary searched.
* Ag uses Pthreads to take advantage of multiple CPU cores and search
  files in parallel.
WWW: https://geoff.greer.fm/ag/

Maintainer

Jeremie Courreges-Anglas

Only for arches

aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 riscv64 sparc64

Categories

textproc

Library dependencies

Files

Search