/usr/share/doc/libagrep-ocaml-dev/examples/README is in libagrep-ocaml-dev 1.0-12build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | ********************************************************************************
* testagrep *
********************************************************************************
testagrep is a program which shows the features of the Agrep OCaml module. It
checks if a string approximatively (you can specify the number of errors
allowed) matches a pattern using the Wu-Manber algorithm.
To compile it using the provided Makfile, just type "make".
The syntax of the program's command line is:
testagrep [options] <pattern> <string>
where options are:
-1 one error
-2 two error
-3 three error
-e <n> n errors
-f search in given file rather than in string
-w match entire words
-v match string verbatim (no special chars)
-help display this list of options
--help display this list of options
The pattern can be constituted of one or more of the following constructs:
- ? match any single character
- * match any sequence of characters
- [..] character set: ranges are denoted with -, as in [a-z]; an initial ^, as in [^0-9], complements the set
- & conjunction (e.g. sweet&sour)
- | alternative (e.g. high|low)
- (..) grouping
- \ escape special characters; the special characters are \?*[]&|().
This file was added for the ocamlagrep Debian package.
|