diff options
author | Chris Little <chrislit@crosswire.org> | 2009-10-31 00:53:27 +0000 |
---|---|---|
committer | Chris Little <chrislit@crosswire.org> | 2009-10-31 00:53:27 +0000 |
commit | 9a17277e123ffe7c84afcd6b76443d5f421805d4 (patch) | |
tree | b68ef1d9f08d6ebdd2b2459eaeb94b2f4429696f /modules/perlconverters/zef2osis.pl | |
parent | c346e38c21eb8f0e87a53b45b77c1aba654880d2 (diff) | |
download | sword-tools-9a17277e123ffe7c84afcd6b76443d5f421805d4.tar.gz |
added uniform revision & date printing to usage statement
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@227 07627401-56e2-0310-80f4-f8cd0041bdcd
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); } |