#!/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