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   [ 1 2 | Next Page ]
Post new Thread
Author
Previous Thread This topic has been viewed 14609 times and has 12 replies Next Thread
Male hermeneutes
Regular



Poland
Joined: Feb 2, 2004
Post Count: 38
Status: Offline
Reply to this Post  Reply with Quote 
How to use diatheke?

Hello,

Is there a more detailed explanation on how to use diatheke on the command line?

To be frank, I don't understand how to use it from the usage message.

Some examples would be very welcome and helpful.

Will appreciate your help.

Regards,

Piotr
[Feb 27, 2004 4:33:47 AM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    syntaxpb    217079784 [Link] Report threatening or abusive post: please login first  Go to top 
Male squinky
Stranger



USA
Joined: Feb 8, 2004
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to use diatheke?

$ diatheke -b KJV -s phrase -k "one body"
created default StringMgr
Verses containing "one body"-- Romans 12:4 ; Romans 12:5 ; I Corinthians 6:16 ; I Corinthians 10:17 ; I Corinthians 12:12 ; I Corinthians 12:13 ; I Corinthians 12:20 ; Ephesians 2:16 ; Ephesians 4:4 ; Colossians 3:15 -- 10 matches total (KJV)

That's normally about what I have to do :)
[Jul 5, 2004 2:06:00 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    squinky01 [Link] Report threatening or abusive post: please login first  Go to top 
Male Nathaniel
Stranger




Joined: Jan 29, 2004
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to use diatheke?

Thanks for the example Squinky, that set me in the right direction. Here are a few more examples for those who are interested:

-- Retrieve Acts ch 10
diatheke -b KJV -k "Acts 10"

-- First five verses of above
diatheke -b KJV -m 5 -k "Acts 10"

-- Acts chapter 1 and 2
diatheke -b KJV -k "Acts 1-2"

-- Genesis 1:1
diatheke -b KJV -o "G 1:1"

-- Galations 1:1 w/ Strong's (KJV Only)
diatheke -b KJV -o n -k "Ga 1:1"

-- I Corinithians 1:1 (also "ic 1:1")
diatheke -b KJV -o n -k "1c 1:1"

-- Revelation 1:1-1:7
diatheke -b KJV -k "Rev 1:1-7"

-- Revelation 1:1
diatheke -b KJV -m 1 -k "R 1:1-7"

-- Revelation 1:1,1:3,1:7 as HTML (w/ <p>,<i> tags)
diatheke -b KJV -f HTML -k "R 1:1,3,7"

-- verses with "my people", quotations optional
diatheke -b KJV -s phrase -k "my people"

-- verses with "skin" and "bones"
diatheke -b KJV -s multiword -k "skin bones"

-- verses with "church" or "assembly"
diatheke -b KJV -s regex -k "church | assembly"

-- Strong's Greek 3056
diatheke -b "StrongsGreek" -k "3056"

-- Definition of "horn" in Two Babylons
diatheke -b "2BabDict" -k "horn"

-- Entry for John 1:1 in Family Bible Notes
diatheke -b Family -k "Jn 1:1"

-- Entry for "Lion" in Scripture Alphabet Of Animals
diatheke -b SAOA -k "Lion"

-- Entry for "olive-tree" in Easton's Bible Dictionary
diatheke -b Easton -k "olive-tree"
----------------------------------------
[Edit 1 times, last edit by Osk at Jul 21, 2004 6:56:02 PM]
[Jul 21, 2004 10:30:16 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 tuubaaku
Regular




Joined: Apr 5, 2005
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to use diatheke?

This reply was very helpful to me. Could this information be put on the diatheke page, or at least a link to this forum? Otherwise, it is a bit difficult to figure out how Diatheke/CLI works.
[Apr 30, 2005 9:22:18 AM] 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 tuubaaku
Regular




Joined: Apr 5, 2005
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to use diatheke?

Just wanted to say thanks for the new instructions in diatheke with the sword-1.5.8 release. Much more helpful.:)
[Jul 26, 2005 9:24:10 AM] 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 grj
Stranger




Joined: Sep 24, 2005
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to use diatheke?

Is there a way to make diatheke display verses? Thanks to this thread I can search on various books and get the references returned, but it would be nice to use diatheke to view the verses and text of books.

Thanks,

grj
[Sep 24, 2005 6:40:14 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 tuubaaku
Regular




Joined: Apr 5, 2005
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to use diatheke?

Have you tried using Nathaniel's tips? For example,
diatheke -b KJV -k "Acts 10"
will display all the verses in Acts 10.

Is that what you want, or are you trying to do something else?
[Sep 30, 2005 6:04:35 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 grj
Stranger




Joined: Sep 24, 2005
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to use diatheke?

That helps with the Bible text. i must have overlooked that. Is there a way to display text from commentaries, etc?

Thanks,

grj
[Oct 14, 2005 10:30:46 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 tuubaaku
Regular




Joined: Apr 5, 2005
Post Count: 10
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to use diatheke?

That helps with the Bible text. i must have overlooked that. Is there a way to display text from commentaries, etc?

Thanks,

grj


It should be just the same - replace the Bible module with a commentary module. For example:
diatheke -b MHC -k "Acts 10:1"

Note, however, that if the commentary doesn't specifically have an entry for that verse, it might not show anything.

Unfortunately I'm at work on a Windows computer right now so I can't check to make sure.
[Oct 29, 2005 7:41:23 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 jazzuban
Stranger




Joined: Oct 10, 2007
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to use diatheke?

I use diatheke to show results in a console. Paste the following code into a file, put that file somewhere in your path and make it executable.


#!/bin/bash
#Display Bible verses using diatheke
#Feel free to modify and improve
#Public Domain License

#Set this to your favorite resource, e.g. BOOK=KJV
BOOK=WEB

clear
echo "#################################################"
echo " Diatheke: display Bible verses"
echo " enter reference or write "quit" to exit"
echo "#################################################"


#This will make the script parse any references given
# as command line arguments

if [ $# -ge 1 ]; then
diatheke -b $BOOK -k $*
fi


## Main function - keep reading references until "quit" is given
# you can also exit by pressing CTRL + C

while [ 1 ]
do
read -p "verse> " INPUT
if [ "$INPUT" != "quit" ]
then
diatheke -b $BOOK -k $INPUT
echo _______________________________________
else
exit
fi

done

exit 0

[Oct 10, 2007 11:53:49 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   [ 1 2 | Next Page ]
Show Printable Version of Thread  Post new Thread