#!/usr/koeki/bin/ruby # -*- coding: utf-8 -*- contents = readlines while line = contents.shift print line end