[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[be] [task #9168] Import Bibles with Strong's codes
From: |
Teus Benschop |
Subject: |
[be] [task #9168] Import Bibles with Strong's codes |
Date: |
Sat, 07 Mar 2009 09:44:45 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-3) |
URL:
<http://savannah.nongnu.org/task/?9168>
Summary: Import Bibles with Strong's codes
Project: Bibledit
Submitted by: teus
Submitted on: Sat 07 Mar 2009 11:44:44 AM CAT
Should Start On: Sat 07 Mar 2009 12:00:00 AM CAT
Should be Finished on: Sat 07 Mar 2009 12:00:00 AM CAT
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
At times Bible texts with Strong's codes are available. Bibledit should be
able to import these and either hide the Strong's codes, or else erase these
from the text during the import stage.
Recently there was a need to import a Bible with Strong's codes and the
marginal notes from BibleWorks. The following script removed all Strong's
codes:
cat kjv.txt | sed -e :a -e 's/ <[^>][0-9][0-9][0-9][0-9]>//g;/</N;//ba' >
kjv2.txt
cat kjv2.txt | sed -e :a -e 's/ <[^>][0-9][0-9][0-9]>//g;/</N;//ba' >
kjv3.txt
cat kjv3.txt | sed -e :a -e 's/ <[^>][0-9][0-9]>//g;/</N;//ba' > kjv4.txt
cat kjv4.txt | sed -e :a -e 's/
[\(][0-9][0-9][0-9][0-9][0-9][\)]//g;/</N;//ba' > kjv5.txt
cat kjv5.txt | sed -e :a -e 's/ [\(][0-9][0-9][0-9][0-9][\)]//g;/</N;//ba' >
kjv6.txt
cat kjv6.txt | sed -e :a -e 's/ <[^>][0-9]>//g;/</N;//ba' > kjv7.txt
cat kjv7.txt | sed -e :a -e 's/ <[^>]>//g;/</N;//ba' > kjv8.txt
It would be helpful if the equivalent work as done by this script could be
done during the import stage.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?9168>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [be] [task #9168] Import Bibles with Strong's codes,
Teus Benschop <=