diff options
Diffstat (limited to 'modules/perlconverters/zef2osis.pl')
-rw-r--r-- | modules/perlconverters/zef2osis.pl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/modules/perlconverters/zef2osis.pl b/modules/perlconverters/zef2osis.pl index 71e349d..2d9a5d5 100644 --- a/modules/perlconverters/zef2osis.pl +++ b/modules/perlconverters/zef2osis.pl @@ -39,10 +39,15 @@ ######################################################################### -$version = "1.1"; -$date = "2008-06-12"; +$version = "1.1.1"; $osisVersion = "2.1.1"; +$date = '$Date$'; +$rev = '$Rev$'; + +$date =~ s/^.+?(\d{4}-\d{2}-\d{2}).+/$1/; +$rev =~ s/^.+?(\d+).+/$1/g; + @OSISbook = ( #OT "Gen", "Exod", "Lev", "Num", "Deut", "Josh", "Judg", "Ruth", "1Sam", "2Sam", "1Kgs", "2Kgs", "1Chr", "2Chr", "Ezra", "Neh", "Esth", "Job", "Ps", "Prov", "Eccl", "Song", "Isa", "Jer", "Lam", "Ezek", "Dan", "Hos", "Joel", "Amos", "Obad", "Jonah", "Mic", "Nah", "Hab", "Zeph", "Hag", "Zech", "Mal", @@ -55,7 +60,7 @@ $osisVersion = "2.1.1"; ); if (scalar(@ARGV) < 2) { - print "zef2osis.pl -- Zefania XML to OSIS $osisVersion converter version $version ($date)\nSyntax: zef2osis.pl <osisWork> <input filename> [-o OSIS-file]\n"; + print "zef2osis.pl -- Zefania XML to OSIS $osisVersion converter version $version\nRevision $rev ($date)\nSyntax: zef2osis.pl <osisWork> <input filename> [-o OSIS-file]\n"; exit (-1); } |