#!/usr/koeki/bin/ruby # coding: euc-jp contents = readlines while line = contents.shift print line end