[sword-svn] r224 - trunk/modules/perlconverters

chrislit at crosswire.org chrislit at crosswire.org
Wed Oct 28 17:00:08 MST 2009


Author: chrislit
Date: 2009-10-28 17:00:08 -0700 (Wed, 28 Oct 2009)
New Revision: 224

Modified:
   trunk/modules/perlconverters/usfm2osis.pl
Log:
attempt at storing svn keywords in a variable


Modified: trunk/modules/perlconverters/usfm2osis.pl
===================================================================
--- trunk/modules/perlconverters/usfm2osis.pl	2009-10-28 23:57:05 UTC (rev 223)
+++ trunk/modules/perlconverters/usfm2osis.pl	2009-10-29 00:00:08 UTC (rev 224)
@@ -43,8 +43,8 @@
 
 # Stores the script version and date
 $version = "1.7";
-$date = "\$Date:\$";
-$rev = "\$Rev:\$";
+$date = qw/$Date$/;
+$rev = qw/$Rev$/;
 # Sets the version of OSIS used in the OSIS header
 $osisVersion = "2.1.1";
 # Stores the USFM Version
@@ -90,7 +90,7 @@
 
 # Syntax instructions
 if (scalar(@ARGV) < 2) {
-    print "\nusfm2osis.pl -- USFM $usfmVersion to OSIS $osisVersion converter version $version-$rev ($date)\n\nSyntax: usfm2osis.pl <osisWork> [-o OSIS-file] [-e USFM encoding] <USFM filenames|wildcard>\n";
+    print "\nusfm2osis.pl -- USFM $usfmVersion to OSIS $osisVersion converter version $version-$rev\n($date)\n\nSyntax: usfm2osis.pl <osisWork> [-o OSIS-file] [-e USFM encoding] <USFM filenames|wildcard>\n";
     print "- Arguments in braces < > are required. Arguments in brackets [ ] are optional.\n";
     print "- The osisWork is a short name with no spaces which will identify your module.\n";
     print "- If no -o option is specified for the output filename, the default output file is: \n\tosisWork.osis.xml.\n";




More information about the sword-cvs mailing list