[sword-devel] single chapter reference bug

Karl Kleinpaste karl at kleinpaste.org
Thu Feb 12 07:02:29 MST 2015

On 02/12/2015 08:41 AM, Peter Von Kaehne wrote:
> lack of a chapter number means that the verse is currently misinterpreted
I've always mechanically converted all refs like that (including
Obadiah, Philemon, 2John, 3John) to manufacture the leading "1:" before
any other processing.  It's a straightforward change using e.g.

sed -e 's/Jude \([0-9]\+\)/Jude 1:\1/g'

This can be embellished to be more precise and more general, but that's
the concept.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20150212/91bc2da4/attachment.html>

More information about the sword-devel mailing list