Fix configuration file example.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2021-06-02 11:21:27 +02:00
parent d1c74d244d
commit 5af10f6767
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 7 additions and 6 deletions

View File

@ -2,7 +2,7 @@
:doctype: manpage :doctype: manpage
:Author: tastytea :Author: tastytea
:Email: tastytea@tastytea.de :Email: tastytea@tastytea.de
:Date: 2021-06-01 :Date: 2021-06-02
:Revision: 0.0.0 :Revision: 0.0.0
:man source: epubgrep :man source: epubgrep
:man manual: General Commands Manual :man manual: General Commands Manual
@ -119,15 +119,16 @@ occur more than once are merged.
==== Example configuration file ==== Example configuration file
This example makes epubgrep ignore files which are not EPUB, suppress the file This example makes epubgrep always search directories recursively, ignore files
names on output, print 2 words of context around matches (unless overridden on which are not EPUB, not print the file names inside the EPUB, print 2 words of
the command line) and search for mentions of the words thyme and oregano in context around matches (unless overridden on the command line) and search for
every book. mentions of the words thyme and oregano in every book.
[source,cfg] [source,cfg]
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
recursive = 1
ignore-archive-errors = 1 ignore-archive-errors = 1
no-filename = 1 no-filename = in-epub
context = 2 context = 2
regexp = [Tt]hyme regexp = [Tt]hyme
regexp = [Oo]regano regexp = [Oo]regano