2 # Part of the zip-doc suite
3 # By Stian Haklev (shaklev@gmail.com), 2007
4 # Released under MIT and GPL licenses
6 # get a page displayed, used in debugging
7 homedir = File.dirname(__FILE__)
8 require File.join(homedir, 'zarchive')
9 archive = ZArchive.new(ARGV[0])
10 p archive.get_article(ARGV[1])