---
name: agrep
version: 2.04_2
origin: textproc/agrep
comment: Approximate grep (fast approximate pattern-matching tool)
arch: freebsd:9:x86:64
www: UNKNOWN
maintainer: dinoex@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 176841
desc: "Agrep is a tool for fast text searching allowing errors.\n\nThe three most
  significant features of agrep that are not supported by\nthe grep family are \n1)
  the ability to search for approximate patterns;\n    for example, \"agrep -2 homogenos
  foo\" will find homogeneous as well \n    as any other word that can be obtained
  from homogenos with at most \n    2 substitutions, insertions, or deletions.\n    \"agrep
  -B homogenos foo\" will generate a message of the form\n    best match has 2 errors,
  there are 5 matches, output them? (y/n)\n2) agrep is record oriented rather than
  just line oriented;  a record\n    is by default a line, but it can be user defined;\n
  \   for example, \"agrep -d '^From ' 'pizza' mbox\"\n    outputs all mail messages
  that contain the keyword \"pizza\".\n    Another example:  \"agrep -d '$$' pattern
  foo\" will output all\n    paragraphs (separated by an empty line) that contain
  pattern.\n3) multiple patterns with AND (or OR) logic queries.   \n    For example,
  \"agrep -d '^From ' 'burger,pizza' mbox\" \n    outputs all mail messages containing
  at least one of the \n    two keywords (, stands for OR).\n    \"agrep -d '^From
  ' 'good;pizza' mbox\" outputs all mail messages\n    containing both keywords.\n\nPutting
  these options together one can ask queries like\n\nagrep -d '$$' -2 '<CACM>;TheAuthor;Curriculum;<198[5-9]>'
  bib\n\nwhich outputs all paragraphs referencing articles in CACM between \n1985
  and 1989 by TheAuthor dealing with curriculum.  \nTwo errors are allowed, but they
  cannot be in either CACM or the year \n(the <> brackets forbid errors in the pattern
  between them).  \n\nTwo technical papers describing agrep are available as:\n\n\tagrep.ps.1
  is a technical report from June 1991 describing the\n\tdesign and implementation
  of agrep\n\t\tftp://ftp.cs.arizona.edu/agrep/agrep.ps.1.Z\n\n\tagrep.ps.2 is a copy
  of the paper as appeared in the 1992 Winter\n\tUSENIX conference.\n\t\tftp://ftp.cs.arizona.edu/agrep/agrep.ps.2.Z\n\nLICENSE:
  no redistribution for profit\n"
categories: [textproc]
files:
  /usr/local/bin/agrep: 8a87c2c62785f0516444d042913ae3011f5c7c19d1ffdf2353ea68bcab1a8e46
  /usr/local/man/man1/agrep.1.gz: 451973d3c8ddc8d5218e1c734959a71c9dc116524c83215d1c71a02708671f76
  /usr/local/share/doc/agrep/COPYRIGHT: 9c37d7573d826991d01c41a4d159bc0ab4eaf2a72b242b2c0292298f9513d4bd
  /usr/local/share/doc/agrep/agrep.algorithms: 6c1a78aa3a9251ba7cf87434b59bd814ca394a8d5ddfe31c6d21f00b5294c949
  /usr/local/share/doc/agrep/agrep.ps.1.Z: 34c342b546c7609a8e87863d94cb4927ec60e6ccd4b5e5324ac7cca4793b3ce2
  /usr/local/share/doc/agrep/agrep.ps.2.Z: 59f8a9e019e6c1c01c05abd09ce319f9af96b676537039819575f66a60b2e8b0
directories:
  /usr/local/share/doc/agrep/: n
scripts: {}
