66f4 FreshPorts -- textproc/agrep
FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

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
License: not specified in port


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
SVNWeb : Distfiles Availability : PortsMon

This port is required by:

for Run

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:
  1. ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
  2. ftp://ftp.cs.arizona.edu/agrep/

Number of commits found: 18

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
26 Jan 2013 16:34:40
Original commit files touched by this commit  2.04_2
dinoex search for other commits by this committer
- cleanup header
27 Nov 2011 12:47:41
Original commit files touched by this commit  2.04_2
dinoex search for other commits by this committer
- add missing prototypes
- add missing includes
- fix build with clang
Feature safe:   yes
03 Jul 2011 14:40:25
Original commit files touched by this commit  2.04_2
ohauer search for other commits by this committer
-remove MD5
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 05: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 17: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 04: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 04: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 01: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 20: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 07: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: 18

2845
Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
linux-f10-flashplugin10May 16
linux-f10-flashplugin11May 16
nginx*May 16
nginx-devel*May 16
firefoxMay 15
firefox-develMay 15
firefox-esrMay 15
firefox10May 15
firefox15May 15
firefox3May 15
firefox3-develMay 15
firefox35May 15
firefox36May 15
linux-firefoxMay 15
linux-seamonkeyMay 15

3 vulnerabilities affecting 19 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 24518
Broken 217
Deprecated 473
Ignore 637
Forbidden 3
Restricted 292
No CDROM 109
Vulnerable 28
Expired 132
Set to expire 511
Interactive 33
new 24 hours 5
new 48 hours8
new 7 days24
new fortnight76
new month206

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

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2013 DVL Software Limited. All rights reserved.
0