ruby

方法1
old = File.open(ARGV).collect
new = File.open(ARGV,”a+”)
for i in 0..old.length-1
new ...

ruby

方法1:
require “mysql”
dbc = Mysql.real_connect(‘127.0.0.1′,’root’,’s ...