That leading colon suggests something is trying to parse a null and reverting to the last text after a fail. Instead of looking for {John 3:16}, it appears to be searching for {John 3:16,} How the code detects the end of the verse range (or whether the next range is null) is where I would start.
On Mon, Oct 24, 2016 at 7:02 AM, Teus Benschop <teusjanne...@gmail.com> wrote: > Something weird is happening to diatheke on Ubuntu 16.04 64 bits: > > $ diatheke -b NETfree -k Jn 3:16 > > John 3:16: For this is the way God loved the world: He gave his one and > only Son, so that everyone who believes in him will not perish but have > eternal life. > > : For this is the way God loved the world: He gave his one and only Son, > so that everyone who believes in him will not perish but have eternal life. > > (NETfree) > > > It outputs the verse text twice. > > > Today's SVN edition of diatheke does not have this behaviour, that's on > macOS. > > _______________________________________________ > sword-devel mailing list: sword-devel@crosswire.org > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page >
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page