#!/usr/koeki/bin/ruby # -*- coding: utf-8 -*- require 'csv' meibo = CSV.read(ARGV[0], headers:true) meibo.each do |row| if /sai?toh/i =~ row["Name"] print row.to_s end end