# File lib/kwartz/util.rb, line 20
    def untabify(str, width=8)
      list = str.split(/\t/)
      last = list.pop
      buf = []
      list.each do |s|
        column = (pos = s.rindex(?\n)) ? s.length - pos - 1 : s.length
        n = width - (column % width)
        buf << s << (" " * n)
      end
      buf << last
      return buf.join
    end