summaryrefslogtreecommitdiff
path: root/textproc/agrep
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-05-19 10:53:05 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-05-19 10:53:05 +0000
commit1f8b48b772b2d0ac0ed48a8259d2117ea3236a90 (patch)
tree06f11bc7b351f3abf3bf5507405afdba5374614e /textproc/agrep
parent- Fix trailing whitespace in pkg-descrs, categories [g-n]* (diff)
- Fix trailing whitespace in pkg-descrs, categories [p-x]*
Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=415500
Diffstat (limited to 'textproc/agrep')
-rw-r--r--textproc/agrep/pkg-descr12
1 files changed, 6 insertions, 6 deletions
diff --git a/textproc/agrep/pkg-descr b/textproc/agrep/pkg-descr
index 48c825b26d9e..0aa151e10f22 100644
--- a/textproc/agrep/pkg-descr
+++ b/textproc/agrep/pkg-descr
@@ -1,10 +1,10 @@
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
+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
+ 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)
@@ -14,9 +14,9 @@ the grep family are
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
+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.