mvnForum Homepage

Print at Jul 31, 2014 2:44:45 PM
Posts: 13   Pages: 2   [ Previous Page | 1 2 ]
View all posts in this thread on one page
Posted by mashdot at Jan 2, 2008 8:25:51 AM
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.

Posted by DaveClem at Feb 16, 2009 5:28:00 PM
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...

Posted by hailukah at Sep 1, 2009 1:38:30 PM
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

Posts: 13   Pages: 2   [ Previous Page | 1 2 ]