#!/usr/bin/env ruby
unless ARGV.include?('-nocss')
puts <<'END'
END
end
unless ARGV.include?('-notable')
puts "
"
$stdin.each_line do |l|
case l
when /^garbage collection/
unless ARGV.include?('-gc')
puts "
"
exit
end
puts "|
"
puts ""
puts ""
puts ""
puts ""
puts ""
puts ""
puts "
"
when /^page/
puts ""
puts ""
puts ""
puts ""
puts ""
puts ""
puts "
"
end
case l
when %r{^([A-Za-z0-9./?= ]+)\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)\s+$}
puts ""
puts "| #{$1} | "
puts "#{$2} | #{$3} | "
puts "#{$4} | #{$5} | "
puts "#{$6} | #{$7} | "
puts "#{$8} | "
puts "
"
end
end
puts ""
end
__END__
### Local Variables: ***
### mode:ruby ***
### End: ***
# Copyright (C) 2005, 2006 Stefan Kaes
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA