agrep - Approximate matching

Distribution: PCLinuxOS
Repository: PCLinuxOS x86_64
Package name: agrep
Package version: 0.8.0
Package release: 1pclos2011
Package architecture: x86_64
Package type: rpm
Installed size: 34.41 KB
Download size: 34.41 KB
Official Mirror:
Approximate pattern matching allows matches to be approximate, that is, allows the matches to be close to the searched pattern under some measure of closeness. TRE uses the edit-distance measure (also known as the Levenshtein distance) where characters can be inserted, deleted, or substituted in the searched text in order to get an exact match. Each insertion, deletion, or substitution adds the distance, or cost, of the match. TRE can report the matches which have a cost lower than some given threshold value. TRE can also be used to search for matches with the lowest cost. TRE includes a version of the agrep command line tool for approximate regexp matching in the style of grep. Unlike other agrep implementations (like the one by Sun Wu and Udi Manber from University of Arizona available) TRE agrep allows full regexps of any length, any number of errors, and non-uniform costs for insertion, deletion and substitution.




  • agrep = 0.8.0-1pclos2011
  • agrep(x86-64) = 0.8.0-1pclos2011


    Install Howto

    1. Enable PCLinuxOS x86_64 repository in /etc/apt/sources.list:
      rpm pclinuxos/64bit x86_64
    2. Update the package index:
      # apt-get update
    3. Install agrep rpm package:
      # apt-get install agrep