[Perl One-Liners: 130 Programs That Get Things Done] scripts port to ruby