summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter von Kaehne <refdoc@gmx.net>2011-03-25 09:49:44 +0000
committerPeter von Kaehne <refdoc@gmx.net>2011-03-25 09:49:44 +0000
commita27e06549e6f38ee104f8b9b09db0e81fb0afe6c (patch)
treea5b16baab0279d39433fba973c50c76f5ea25deb
parent7e008f8acdd462bf98f209d35329a65e5fdbbbc8 (diff)
downloadsword-tools-a27e06549e6f38ee104f8b9b09db0e81fb0afe6c.tar.gz
draft for a usfm adder
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@317 07627401-56e2-0310-80f4-f8cd0041bdcd
-rw-r--r--modules/crossreferences/usfmxrefadd.pl19
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/crossreferences/usfmxrefadd.pl b/modules/crossreferences/usfmxrefadd.pl
new file mode 100644
index 0000000..50e3f3c
--- /dev/null
+++ b/modules/crossreferences/usfmxrefadd.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/perl
+
+# Here comes the licence
+
+# read the options or establish sane defaults
+
+# Read an xref file in USFM format and read it into a an array
+
+# loop through each usfm file
+
+# # loop through each line
+
+##### establish a chapter count
+##### if a verse has an entry add the xref from the array
+
+## print the USFM file
+
+
+