#!/usr/bin/env ruby require 'open-uri' BASE_URI = 'http://www.pamusb.org/doku/doc/' DOC_PATH = './pam_usb/doc/' DOCS = [ 'install', 'upgrading' ] REPLACE_LIST = [ # Extract text area from xhtml document. { :pattern => /.*