>>521
# Reference
# http://kovayashi.blog120.fc2.com/blog-entry-56.html
# http://www.namaraii.com/rubytips/?%A5%C7%A5%A3%A5%EC%A5%AF%A5%C8%A5%EA#l9
# Usage Example: > ruby conv.rb src\*.txt
ARGV.each {|f|
puts "#{f}: #{File::stat(f).size} bytes"
i = open(f,'rb')
o = open(f+".new",'wb')
o.print i.read.gsub(/\r\n?/,"\n")
i.close
o.close
}

全力でコピペコード。