#!/usr/koeki/bin/ruby # -*- coding: utf-8 -*- contents = [] # 読み込み while line = gets contents << line end # 出力 for line in contents print line end