diff --git a/man/epubgrep.1.adoc b/man/epubgrep.1.adoc index 53405c7..c5c4442 100644 --- a/man/epubgrep.1.adoc +++ b/man/epubgrep.1.adoc @@ -93,14 +93,16 @@ occur more than once are merged. ==== Example configuration file -This example makes epubgrep always use Perl regular expressions and search for -mentions of the words thyme and oregano in every book. +This example makes epubgrep always suppress the file names on output, print 2 +words of context around matches (unless overridden on the command line) and +search for mentions of the words thyme and oregano in every book. [source,cfg] -------------------------------------------------------------------------------- -perl-regexp = 1 -regexp = \b[Tt]hyme\b -regexp = \b[Oo]regano\b +no-filename +context = 2 +regexp = [Tt]hyme +regexp = [Oo]regano -------------------------------------------------------------------------------- // == EXAMPLES