trim.rb
get_lines: shows offset