#!/usr/bin/env ruby # Converts a table of tab separated values into HTML. # Note that the default separator in Ruby is a tab. # Use -F to specify some other delimiter. e.g. -F " *; *" puts "" puts "" puts "" while gets printf "\n", chomp.split().join( "
%s
" ) end puts "
"