FreshPorts -- The Place For Ports Wed, 15 Oct 2008 6:46 PM GMT
I will be attending meetBSD California 2008 at Google - Mountain View, California, November 15th and 16th, 2008. Will you be there?
There is a PORTS FREEZE in effect!

A ports freeze means that commits will be few and far between and only by approval.

Port details
agrep 2.04_1 textproc on this many watch lists=22 search for ports that depend on this port
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


- David O'Brien
obrien@NUXI.com
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: 14

Commit History - (may be incomplete: see CVSWeb link above for full details)
DateByDescription
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: 14

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet
SuperNews

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
libxml2Oct 15
drupal5Oct 12
drupal6Oct 12
cups-baseOct 10
mysql41-server*Oct 10
mysql50-client*Oct 10
mysql50-server*Oct 10
mysql51-client*Oct 10
mysql51-server*Oct 10
mysql60-client*Oct 10
operaOct 10
bitlbee*Oct 03
gallery*Oct 03
gallery2*Oct 03
horde-base*Oct 03

12 vulnerabilities affecting 20 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 19318
Broken 157
Deprecated 81
Ignore 437
Forbidden 7
Restricted 279
No CDROM 132
Vulnerable 55
Expired 55
Set to expire 63
Interactive 78
new 24 hours 7
new 48 hours13
new 7 days51
new fortnight81
new month150

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.084 seconds.