t etc, XML validity) will ultimately
lead to poor quality modules.
Peter
Peter
Original-Nachricht
> Datum: Mon, 11 Apr 2011 15:11:29 -0400
> Von: DM Smith
> An: sword-devel@crosswire.org
> Betreff: Re: [sword-devel] Using Perl script usfm2osos.pl in Windows?
>
&g
Thanks DM.
Very helpful response.
Just one point might need further elaboration (as I see it).
Were one to enhance the Perl code to take the directory name as the
argument, how would one know what Windows file extension the USFM filenames
might have?
We have already come across all of these: *.
On 04/11/2011 02:11 PM, David Haslam wrote:
My expectations are simple enough...
I'd like to be able to use usfm2osis.pl with Windows filespec wildcards.
e.g. *.SFM, as the last command line parameter ("like it says on the tin").
Is that not something that a good Perl programmer can add fa
My expectations are simple enough...
I'd like to be able to use usfm2osis.pl with Windows filespec wildcards.
e.g. *.SFM, as the last command line parameter ("like it says on the tin").
usfm2osis.pl -- USFM 2.2 to OSIS 2.1.1 converter version 1.7.2
Revision $Rev$ ($Date$)
Syntax: usfm2osis.pl [
On unix file globbing is not an OS function but that of the shell.
Different shells glob in different ways. Basically there are two flavors
of globbing, C-shell and SH.
On windows, it appears that it is a function of the OS, that programs
can use. One popular glob is the renaming of files. E.g
As it does process individual files in Windows, I can write a CMD command to
process all the files matching a pattern. Something like this should work.
for %%f in (*.SFM) do perl %cwpl%\usfm2osis.pl %%f %%f
This should generate output files with dotty "extension"s viz.
filename.SFM.osis.xml
But
If the cmd.exe environment does not expand GLOB expressions for you, I
suggest you upgrade to a fully-featured shell environment and file a
bug against it with Microsoft. While you're waiting for them to
complete basic functionality in their shell environment, try Cygwin or
Linux or a BSD or Mac O
It is capable of handling multiple files. Typically Paratext has one
file for each book of the Bible, so that is why it handles those files
that way.
I remember running into this problem in Windows, but I don't remember
how I solved it. I think I switched my OS. :) I agree this utility
should
David,
I haven't used usfm2osis.pl, but are you sure it is capable of
handling multiple files at one time anywhere? Usually the file glob is
expanded by the shell (at least in the Unix world) so the program will
actually receive multiple distinct arguments expanded out to match
each file in the gl
Can anyone help?
CrossWire utilities written as Perl scripts such as usfm2osis.pl seem to be
designed for Unix users only!
This utility does not work when given with a wildcard to specify the USFM
files.
It does work, however, for each individual USFM file when each
case-sensitive filename is sp
10 matches
Mail list logo