|
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. Where do I find USFMToOSIS? Google didn't list any hits. Daniel Chris Little wrote: I'm currently working on a recommended process for converting (U)SFM to OSIS. So keep an eye on http://www.crosswire.org/wiki/index.php/Converting_SFM_Bibles_to_OSIS 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: -- PMBX license 1502 |
_______________________________________________ sword-devel mailing list: [email protected] http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
