#!/usr/local/bin/ruby prlist={} while entry=gets if /(\S+)=(\d+)/ =~ entry prlist[$1] = $2.to_i end end $KCODE='e' p prlist