Add examples to man page.
This commit is contained in:
parent
babd7e4f61
commit
b2a6f9217b
|
@ -2,7 +2,7 @@
|
|||
:doctype: manpage
|
||||
:Author: tastytea
|
||||
:Email: tastytea@tastytea.de
|
||||
:Date: 2021-06-08
|
||||
:Date: 2021-06-24
|
||||
:Revision: 0.0.0
|
||||
:man source: epubgrep
|
||||
:man manual: General Commands Manual
|
||||
|
@ -24,6 +24,20 @@ implemented and some additional switches are added.
|
|||
This manual is also available at
|
||||
<https://man.schlomp.space/tastytea/?program=epubgrep>.
|
||||
|
||||
== EXAMPLES
|
||||
|
||||
.Search for Apple(s) or Orange(s) with 2 words of context around the matches, case insensitively
|
||||
[source,shell]
|
||||
--------------------------------------------------------------------------------
|
||||
epubgrep -PiC2 '(Apple|Orange)s?' file.epub
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
.Extract external hyperlinks
|
||||
[source,shell]
|
||||
--------------------------------------------------------------------------------
|
||||
epubgrep -PC0 --raw --no-filename=all '"http[^"]+"' file.epub | tr -d '"'
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
== OPTIONS
|
||||
|
||||
*-h*, *--help*::
|
||||
|
|
Loading…
Reference in New Issue
Block a user