View Single Post
Old 08-17-2008, 07:07 PM   #1
Junior Member
benjaminvm began at the beginning.
Posts: 8
Karma: 10
Join Date: Jul 2008
Device: Sony Reader PRS-505
Searching within a E-Book

Hello Everyone,

As I was reading over the dictionary forum and it's autorun script, I thought of an idea.

Wouldn't it be easy to search within a book using the same process that the DictioLauncher Application uses?? Something along the lines of

$ cat ebook_file | grep "^search_term$"
should work shouldn't it! Even the UI could remain the same except you would have to select a file.

The only problem may be in parsing the PDF, LRF files to get plain text. Something like the 'strings' util should work though right? Tell me what you think.

Thank you.
benjaminvm is offline   Reply With Quote