From: "Tim R." Date: 2011-08-29T05:20:05+09:00 Subject: Re: convert unix one-liner to ruby one-liner Robert, Thanks so much for the quick response and slick suggestions. ruby -e 'Dir["*.txt"].each {|f| File.open(f,"a",&:puts)}' is my fav. Thanks, Tim -- Posted via http://www.ruby-forum.com/.