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
Revert "adding trollop.rb, but still not supported"
[zip-doc.git]
/
display-page.rb
blob
c39020bd4921042771e835e64de9a8c49206cb6c
1
#!/usr/bin/ruby
2
# Part of the zip-doc suite
3
# By Stian Haklev (shaklev@gmail.com), 2007
4
# Released under MIT and GPL licenses
5
6
# get a page displayed, used in debugging
7
require 'zarchive'
8
archive = ZArchive::Reader.new(ARGV[0])
9
p archive.get(ARGV[1])