FreshPorts -- The Place For Ports Sat, 20 Mar 2010 7:14 PM GMT
Do I have any twitter.com followers? I'd like to get control of twitter.com/pgcon, since I run pgcon...
Port details
agrep 2.04_2 textproc on this many watch lists=19 search for ports that depend on this port
NO CDROM NO CDROM: no redistribution for profit
Approximate grep (fast approximate pattern-matching tool)
Maintained by: dinoex@FreeBSD.org search for ports maintained by this maintainer
Port Added: unknown


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 '<CACM>;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

LICENSE: no redistribution for profit
CVSWeb : Sources : Distfiles Availability : PortsMon

To install the port: cd /usr/ports/textproc/agrep/ && make install clean
To add the package: pkg_add -r agrep


Configuration Options
     No options to configure

Master Sites:
ftp://ftp.cs.arizona.edu/agrep/
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/

Number of commits found: 15

Commit History - (may be incomplete: see CVSWeb link above for full details)
DateByDescription
16 Jan 2009 15:12:52
Original commit files touched by this commit  2.04_2
dinoex search for other commits by this committer
- add NO_CDROM
- add COPYRIGHT
- extend Documentation
31 May 2008 06:39:22
Original commit files touched by this commit  2.04_1
dinoex search for other commits by this committer
- fix build with NOPORTDOCS
Reported by:    itetcu
30 May 2008 18:00:27
Original commit files touched by this commit  2.04_1
dinoex search for other commits by this committer
- use DOCSDIR
19 May 2006 05:32:01
Original commit files touched by this commit  2.04_1
dinoex search for other commits by this committer
- cleanup
13 Nov 2005 09:26:50
Original commit files touched by this commit  2.04_1
dinoex search for other commits by this committer
- add SHA checksum
26 Feb 2004 05:48:47
Original commit files touched by this commit  2.04_1
dinoex search for other commits by this committer
- add SIZE
20 Nov 2003 19:22:15
Original commit files touched by this commit  2.04_1
dinoex search for other commits by this committer
- take maintainership
- use DOCSDIR
12 Nov 2003 14:26:19
Original commit files touched by this commit  2.04_1
wosch search for other commits by this committer
Long patterns force a core dump:

$ ./agrep  `perl -e 'print "y" x 240'`  /dev/null
Segmentation fault (core dumped)
27 Jun 2003 05:05:34
Original commit files touched by this commit  2.04_1
kris search for other commits by this committer
Fix missing format string argument and bump PORTREVISION.

Obtained from:  OpenBSD
20 Feb 2003 19:11:26
Original commit files touched by this commit  2.04
knu search for other commits by this committer
De-pkg-comment.
21 Jul 2002 02:56:56
Original commit files touched by this commit  2.04
naddy search for other commits by this committer
* Honor CFLAGS.
* Include proper prototypes; fixes dire warnings on alpha.
08 May 2002 21:58:31
Original commit files touched by this commit  2.04
obrien search for other commits by this committer
To ports@freebsd.org.
05 Feb 2001 16:35:27
files touched by this commit
olgeni search for other commits by this committer
More style fixes for ports/textproc.    
22 Nov 2000 00:17:18
files touched by this commit
obrien search for other commits by this committer
Add $FreeBSD$'s which help me in problem reports.    
08 Oct 2000 08:29:51
files touched by this commit
asami search for other commits by this committer
Convert category textproc to new layout.  

Number of commits found: 15

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet
SuperNews

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
linux-seamonkeyMar 19
linux-thunderbirdMar 19
seamonkeyMar 19
seamonkey2Mar 19
thunderbirdMar 19
thunderbird3Mar 19
drupal5Mar 08
drupal6Mar 08
sudoMar 01
firefox-devel*Feb 28
firefox3*Feb 28
firefox3-devel*Feb 28
firefox35*Feb 28
linux-firefox*Feb 28
linux-firefox-devel*Feb 28

2 vulnerabilities affecting 8 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 21413
Broken 173
Deprecated 46
Ignore 899
Forbidden 2
Restricted 388
No CDROM 141
Vulnerable 57
Expired 20
Set to expire 33
Interactive 79
new 24 hours 5
new 48 hours5
new 7 days17
new fortnight49
new month99

This site
What is FreshPorts?
About the Authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Add tab to Netscape 6

Servers and bandwidth provided by
New York Internet
SuperNews
Valid HTML, CSS, and RSS.
Copyright © 2000-2008 DVL Software Limited. All rights reserved.
This page created in 0.116 seconds.