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
:Author: tastytea
:Email: tastytea@tastytea.de
:Date: 2021-06-01
:Date: 2021-06-02
:Revision: 0.0.0
:man source: epubgrep
:man manual: General Commands Manual
@ -119,15 +119,16 @@ occur more than once are merged.
==== Example configuration file
This example makes epubgrep ignore files which are not EPUB, 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.
This example makes epubgrep always search directories recursively, ignore files
which are not EPUB, not print the file names inside the EPUB, 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]
--------------------------------------------------------------------------------
recursive = 1
ignore-archive-errors = 1
no-filename = 1
no-filename = in-epub
context = 2
regexp = [Tt]hyme
regexp = [Oo]regano