NOTICE: This package no longer exists in Ports


./textproc/agrep [approximate grep (fast approximate pattern-matching tool)]

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 2.04, Package name: agrep-2.04
Maintained by: The OpenBSD ports mailing-list
Master sites:
Description
Agrep is a tool for fast text searching allowing errors.

The three most significant features of agrep that are not supported by
the grep family are
1) the ability to search for approximate patterns;
for example, "agrep -2 homogenos foo" will find homogeneous as well
as any other word that can be obtained from homogenos with at most
2 substitutions, insertions, or deletions.
"agrep -B homogenos foo" will generate a message of the form
best match has 2 errors, there are 5 matches, output them? (y/n)
2) agrep is record oriented rather than just line oriented; a record
is by default a line, but it can be user defined;
for example, "agrep -d '^From ' 'pizza' mbox"
outputs all mail messages that contain the keyword "pizza".
Another example: "agrep -d '$$' pattern foo" will output all
paragraphs (separated by an empty line) that contain pattern.
3) multiple patterns with AND (or OR) logic queries.
For example, "agrep -d '^From ' 'burger,pizza' mbox"
outputs all mail messages containing at least one of the
two keywords (, stands for OR).
"agrep -d '^From ' 'good;pizza' mbox" outputs all mail messages
containing both keywords.

Putting these options together one can ask queries like

agrep -d '$$' -2 ';TheAuthor;Curriculum;<198[5-9]>' bib

which outputs all paragraphs referencing articles in CACM between
1985 and 1989 by TheAuthor dealing with curriculum.
Two errors are allowed, but they cannot be in either CACM or the year
(the <> brackets forbid errors in the pattern between them).

Two technical papers describing agrep are available as:

agrep.ps.1 is a technical report from June 1991 describing the
design and implementation of agrep
ftp://ftp.cs.arizona.edu/agrep/agrep.ps.1.Z

agrep.ps.2 is a copy of the paper as appeared in the 1992 Winter
USENIX conference.
ftp://ftp.cs.arizona.edu/agrep/agrep.ps.2.Z


Filesize: 60.89 KB
Version History (View Complete History)
  • (2017-04-12) Package deleted from Ports
  • (2007-01-30) Updated to version: agrep-2.04p0
  • (2006-07-21) Package added to openports.se, version agrep-2.04 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2017-04-11 07:55:38 by Stuart Henderson | Files touched by this commit (11)
Log message:
remove the port for agrep-2.04.tar.Z, doesn't build with clang, and we
can't redistribute binaries anyway -
PERMIT_PACKAGE_FTP=	may not modify
PERMIT_PACKAGE_CDROM=	no fee
ok landry
   2017-04-11 07:55:38 by Stuart Henderson | Files touched by this commit (11)
Log message:
remove the port for agrep-2.04.tar.Z, doesn't build with clang, and we
can't redistribute binaries anyway -
PERMIT_PACKAGE_FTP=	may not modify
PERMIT_PACKAGE_CDROM=	no fee
ok landry
   2017-04-11 07:55:38 by Stuart Henderson | Files touched by this commit (11)
Log message:
remove the port for agrep-2.04.tar.Z, doesn't build with clang, and we
can't redistribute binaries anyway -
PERMIT_PACKAGE_FTP=	may not modify
PERMIT_PACKAGE_CDROM=	no fee
ok landry
   2017-04-11 07:55:38 by Stuart Henderson | Files touched by this commit (11)
Log message:
remove the port for agrep-2.04.tar.Z, doesn't build with clang, and we
can't redistribute binaries anyway -
PERMIT_PACKAGE_FTP=	may not modify
PERMIT_PACKAGE_CDROM=	no fee
ok landry
   2017-04-11 07:55:38 by Stuart Henderson | Files touched by this commit (11)
Log message:
remove the port for agrep-2.04.tar.Z, doesn't build with clang, and we
can't redistribute binaries anyway -
PERMIT_PACKAGE_FTP=	may not modify
PERMIT_PACKAGE_CDROM=	no fee
ok landry
   2017-04-11 07:55:38 by Stuart Henderson | Files touched by this commit (11)
Log message:
remove the port for agrep-2.04.tar.Z, doesn't build with clang, and we
can't redistribute binaries anyway -
PERMIT_PACKAGE_FTP=	may not modify
PERMIT_PACKAGE_CDROM=	no fee
ok landry
   2017-04-11 07:55:38 by Stuart Henderson | Files touched by this commit (11)
Log message:
remove the port for agrep-2.04.tar.Z, doesn't build with clang, and we
can't redistribute binaries anyway -
PERMIT_PACKAGE_FTP=	may not modify
PERMIT_PACKAGE_CDROM=	no fee
ok landry
   2017-04-11 07:55:38 by Stuart Henderson | Files touched by this commit (11)
Log message:
remove the port for agrep-2.04.tar.Z, doesn't build with clang, and we
can't redistribute binaries anyway -
PERMIT_PACKAGE_FTP=	may not modify
PERMIT_PACKAGE_CDROM=	no fee
ok landry
   2017-04-11 07:55:38 by Stuart Henderson | Files touched by this commit (11)
Log message:
remove the port for agrep-2.04.tar.Z, doesn't build with clang, and we
can't redistribute binaries anyway -
PERMIT_PACKAGE_FTP=	may not modify
PERMIT_PACKAGE_CDROM=	no fee
ok landry
   2017-04-11 07:55:38 by Stuart Henderson | Files touched by this commit (11)
Log message:
remove the port for agrep-2.04.tar.Z, doesn't build with clang, and we
can't redistribute binaries anyway -
PERMIT_PACKAGE_FTP=	may not modify
PERMIT_PACKAGE_CDROM=	no fee
ok landry
   2017-04-11 07:55:38 by Stuart Henderson | Files touched by this commit (11)
Log message:
remove the port for agrep-2.04.tar.Z, doesn't build with clang, and we
can't redistribute binaries anyway -
PERMIT_PACKAGE_FTP=	may not modify
PERMIT_PACKAGE_CDROM=	no fee
ok landry
   2016-03-17 15:14:46 by Christian Weisgerber | Files touched by this commit (5)
Log message:
add missing includes
   2016-03-17 15:14:46 by Christian Weisgerber | Files touched by this commit (5)
Log message:
add missing includes
   2016-03-17 15:14:46 by Christian Weisgerber | Files touched by this commit (5)
Log message:
add missing includes
   2016-03-17 15:14:46 by Christian Weisgerber | Files touched by this commit (5)
Log message:
add missing includes
   2016-03-17 15:14:46 by Christian Weisgerber | Files touched by this commit (5)
Log message:
add missing includes
   2015-02-16 15:57:14 by Christian Weisgerber | Files touched by this commit (213)
Log message:
Drop USE_GROFF from ports where the formatting differences are acceptable
or mandoc provides the more useful output.
   2015-01-17 20:16:09 by Christian Weisgerber | Files touched by this commit (3349)
Log message:
Drop remaining MD5/RMD160/SHA1 checksums.
   2010-11-20 12:56:52 by Marc Espie | Files touched by this commit (236)
Log message:
new depends
   2010-10-19 01:54:26 by Marc Espie | Files touched by this commit (205)
Log message:
USE_GROFF=Yes
   2007-09-15 14:59:42 by Michael Erdely | Files touched by this commit (242)
Log message:
Remove surrounding quotes in COMMENT-*/PERMIT_*
   2007-04-05 11:26:27 by Marc Espie | Files touched by this commit (815)
Log message:
more base64 checksums


   2007-01-29 13:19:57 by Matthias Kilian | Files touched by this commit (4)
Log message:
With textproc/tre, we've yet another agrep binary, so add a @conflict tag.
(And bump the PKGNAME).
   2007-01-29 13:19:57 by Matthias Kilian | Files touched by this commit (4)
Log message:
With textproc/tre, we've yet another agrep binary, so add a @conflict tag.
(And bump the PKGNAME).
   2005-01-05 10:34:35 by Christian Weisgerber | Files touched by this commit (166)
Log message:
SIZE


   2004-12-06 17:23:24 by Aleksander Piotrowski | Files touched by this commit (46)
Log message:
Add WANTLIB markers


   2004-09-18 07:12:43 by Marc Espie | Files touched by this commit (2)
Log message:
new style conflicts


   2004-09-15 12:44:09 by Marc Espie | Files touched by this commit (107)
Log message:
new plists


   2003-11-15 08:12:55 by Nikolay Sturm | Files touched by this commit (63)
Log message:
license checks


   2003-04-30 08:21:58 by Anil Madhavapeddy | Files touched by this commit (1)
Log message:
missing format string argument


   2002-12-23 01:55:57 by Peter Valchev | Files touched by this commit (1)
Log message:
better description of why this cannot go to the CDROM


   2002-12-22 17:37:52 by Peter Valchev | Files touched by this commit (86)
Log message:
Remove Angelos from maintainer per his request


   2002-10-28 15:43:46 by Christian Weisgerber | Files touched by this commit (25)
Log message:
No regression tests available.