repo.or.cz
/
zip-doc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
start refactoring - works so far
[zip-doc.git]
/
display-page.rb
blob
9be9580fa8942e8d2838357a3fdac3ae2345ebe9
1
#!/usr/bin/ruby
2
3
# get a page displayed
4
homedir = File.dirname(__FILE__)
5
require File.join(homedir, 'zarchive')
6
archive = ZArchive.new(ARGV[0])
7
p archive.get_article(ARGV[1])