mvnForum Homepage Welcome Guest  | Guest Setting  |  Register  |   Login
  Search  
Index  | Recent Threads  | Unanswered Threads  | Who's Online  | User List  | Help


»

No member browsing this thread
Thread Status: Active
Total posts in this thread: 13
Posts: 13   Pages: 2   [ Previous Page | 1 2 ]
Post new Thread
Author
Previous Thread This topic has been viewed 14003 times and has 12 replies Next Thread
Male mashdot
Stranger




Joined: Jan 2, 2008
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to use diatheke?

Does anyone know how to turn off the verse numbering?

eg.
diatheke -b ESV -k gen 1:1-3

Genesis 1:1: In the beginning, God created the heavens and the earth.
Genesis 1:2: The earth was without form and void, and darkness was over the face of the deep. And the Spirit of God was hovering over the face of the waters.
Genesis 1:3: And God said, Let there be light, and there was light.

and rather have output like...

In the beginning, God created the heavens and the earth.
The earth was without form and void, and darkness was over the face of the deep. And the Spirit of God was hovering over the face of the waters.
And God said, Let there be light, and there was light.

Also I still think there needs to be a man page created for diatheke breaking down all the options.
[Jan 2, 2008 8:25:51 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Male DaveClem
Stranger




Joined: Feb 16, 2009
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to use diatheke?

if your using a linux shell (bash, sh, etc) one way would be

diatheke -b ESV -k gen 1:1-3 | cut -d ":" -f3-10

this will give the desired output but doesn't really turn it off. it splits each line into fields, and uses the colon to determine the field, then displays the 3rd to the 10th field

(the reason being, that if the text uses a colon at any point then everything after the colon in the text would be lost if you just used -f3, so just to be sure i set it to the 10th feidl , reasoning your not going to have more than 7 colons in a verse of scripture.)

there might be a way to do it with diatheke of course...
[Feb 16, 2009 5:28:00 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Male hailukah
Stranger




Joined: Sep 1, 2009
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to use diatheke?

Hi everyone,

I'm not sure if anyone would be interested in a frontend to diatheke, but here goes...

This works for me in Ubuntu 9.04. It's written entirely in bash script.

http://omploader.org/vMjlqbQ

Save the script as opsis (Greek for appearance) and make executable

chmod a+x opsis


./opsis -h

will list the few command line options.

./opsis

runs opsis in its normal mode. It allows to read the bible by chapter. Perform a lookup in Nave's (it's much quicker than searching). Save a bookmark of current reading location. And see a list of modules to chose from.

I'd appreciate any feedback.

josh
[Sep 1, 2009 1:38:30 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 13   Pages: 2   [ Previous Page | 1 2 ]
Show Printable Version of Thread  Post new Thread