<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I will watch that page, but thanks for helping me with the syntax. I
will see how it goes with the Perl script and decide what to do next. I
expect to need to transform a few USFM Bibles in the next year or so.<br>
<br>
Where do I find USFMToOSIS? Google didn't list any hits.<br>
<br>
Daniel<br>
<br>
Chris Little wrote:
<blockquote cite="mid:48475D0B.1030103@crosswire.org" type="cite">
  <pre wrap="">I'm currently working on a recommended process for converting (U)SFM to 
OSIS. So keep an eye on 
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/wiki/index.php/Converting_SFM_Bibles_to_OSIS">http://www.crosswire.org/wiki/index.php/Converting_SFM_Bibles_to_OSIS</a> in 
the coming days. Truthfully, I don't think I can recommend using 
usfm2osis.pl. I think Snowfall Software's USFMToOSIS will probably work 
better (but is much more difficult to get working).

But to answer your question, the input files argument of usfm2osis.pl 
just takes a path argument to the files. So if your files are in a 
directory called VB (relative to the directory containing usfm2osis.pl) 
and the SFM files all have a .txt extension, then you would run:
./usfm2osis.pl VB -o vb.xml VB/*.txt

(This will grab every .txt file in that directory, so anything that 
isn't SFM but has a .txt extension should be moved or renamed. I wrote 
the script with the assumption that SFM files would have distinctive 
extensions like .sfm, .sfc, .ptx, or such.)

--Chris

Daniel Owens wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I am trying to use usfm2osis.pl to convert some USFM files to an OSIS 
file for import. I was able to use the Bibledit export feature, but it 
doesn't preserve paragraph tags. I haven't been able to get usfm2osis.pl 
to actually find the data I am wanting to transform. I put the script in 
the folder with the USFM files (named 01GENVB6.txt, 02EXOVB26.txt, and 
so on), but I am not sure what to enter in the terminal.  ./usfm2osis.pl 
VB -o vb.xml vb26.txt isn't right (VB being the module, vb.xml being the 
output file). I am not sure how to use the wildcards for this script. I 
know there must be a simple answer, but it's escaping me.

Daniel

    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page

  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
PMBX license 1502 
</pre>
</body>
</html>