agrep - Approximate grep (fast approximate pattern-matching tool)

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Quarterly i386
Package filename agrep-2.04_2.txz
Package name agrep
Package version 2.04
Package release 2
Package architecture i386
Package type txz
Category textproc
Homepage -
License -
Download size 143.16 KB
Installed size 169.90 KB
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.
LICENSE: no redistribution for profit
- DOCS: on


Package Version Architecture Repository
agrep-2.04_2.txz 2.04 amd64 FreeBSD Ports Quarterly
agrep-2.04_2.txz 2.04 i386 FreeBSD Ports Latest
agrep-2.04_2.txz 2.04 amd64 FreeBSD Ports Latest
agrep - - -


Type URL
Binary Package agrep-2.04_2.txz
Source Package textproc/agrep

Install Howto

Install agrep txz package:

# pkg install agrep

See Also

Package Description
agrum-0.15.2_1.txz Graphical modeler for Bayesian networks, influence diagrams, etc
ags- Adventure Game Studio Engine
ah-tty-0.3.12_2.txz Ah-tty is an automatic helper for command prompts and shells
ahven-2.6_4.txz Ada unit test framework
aide-0.16.1.txz File and directory integrity checker
aifad-2.0.8.txz Machine learning system
aiksaurus-1.2.1_3.txz Set of libraries and applications which provide a thesaurus
aimage-3.2.5_2.txz Advanced Disk Imager
aircrack-ng-1.5.2_1.txz 802.11 WEP and WPA-PSK keys cracking program
aircraft-datcom-0.0.20120723_5.txz Modified USAF Aircraft Stability and Control Data Compendium
aird-1.0.txz Handles Apple IR receiver button events
airspy- AirSpy's usemode driver and associated tools
aish-1.13.txz Ish/uuencode/Base64 converter
aisleriot-3.22.5_1.txz Collection of patience games written in guile scheme
aklabeth-1.0.txz Remake of Richard Garriott's Ultima prequel