Commit Graph

22 Commits

Author SHA1 Message Date
tastytea 00e3edb9f2
Only search files in spine, in the right order.
The spine lists all content documents in their linear reading order. So we're
finally getting our results in the right order! 🎉

Since we skip the images and fonts, which usually make up the most bytes in an
EPUB file, the performance increase is immense. I measured 60-70% in a very
short test.

Closes: #1
2021-05-29 17:34:43 +02:00
tastytea 26678812c9
Typo in man page. 2021-05-28 22:59:54 +02:00
tastytea 3f58b27709
Fix config file example in man page. 2021-05-27 22:21:25 +02:00
tastytea dc4b233c3e
Fix typos in manpage.
continuous-integration/drone/push Build is passing Details
2021-05-27 21:55:51 +02:00
tastytea c3131e01f0
Add setting to suppress this-is-not-an-EPUB errors. 2021-05-27 21:48:35 +02:00
tastytea e64591f204
Rework option parsing, change --no-filename.
continuous-integration/drone/push Build is failing Details
Options are now better accessible, --no-filename accepts the values filesystem,
in-epub or all.
2021-05-27 17:20:00 +02:00
tastytea c376ce8466
Print the EPUB file name if more than 1 input file.
Change --no-filename to mean: Don't print the EPUB file name.
2021-05-27 14:46:23 +02:00
tastytea 0c45e7ac98
Add --recursive and --dereference-recursive.
Closes: #5
2021-05-27 14:45:52 +02:00
tastytea d107ce5c31
Modify config file example.
It's not a good idea to specify “perl-regexp” in the config file, because it can
not be overriden yet. 😊
2021-05-26 20:19:09 +02:00
tastytea 694cb3bc44
Add --no-filename switch.
continuous-integration/drone/push Build is passing Details
Suppresses the mentioning of file names on output.
2021-05-26 09:04:16 +02:00
tastytea b6347aeab4
Add --nocolor to man page.
continuous-integration/drone/push Build was killed Details
2021-05-25 11:56:17 +02:00
tastytea 165d8597b6
Improve short description and add license information to readme.
continuous-integration/drone/push Build is passing Details
2021-05-25 11:08:08 +02:00
tastytea 6d48f667fd
Fix typo in man page.
continuous-integration/drone/push Build is passing Details
2021-05-24 21:49:27 +02:00
tastytea 6ee550c171
Update man page. 2021-05-24 18:57:04 +02:00
tastytea bb4a4c719f
Wrap headlines in <H> and </H> during cleanup. 2021-05-24 18:08:40 +02:00
tastytea 972ce1d0fe
Don't strip headlines. 2021-05-24 16:37:30 +02:00
tastytea 84e2b387e5
Clean up text before searching. 2021-05-24 16:01:41 +02:00
tastytea 9c769f664d
Clarify documentation: NUM → NUMBER. 2021-05-24 08:23:52 +02:00
tastytea 78230b26e6
Add a bit of usage information to man page.
The described stuff is not working yet.
2021-05-24 07:51:37 +02:00
tastytea f388dd0511
Add --raw and --context switches. 2021-05-24 07:50:50 +02:00
tastytea f96f07caa7
Update man page.
- Add --basic-regexp and --grep
- Expand description
- Document configuration file syntax
2021-05-23 16:52:27 +02:00
tastytea 281c0d47d2
Add basic man page.
continuous-integration/drone/push Build is failing Details
2021-05-23 06:36:33 +02:00