2009-01-06から1日間の記事一覧

ファイルの COPY

1.1. ファイルの COPY 1行ずつ読んで、1行ずつ書く lesson001.rb STDIN.each do |line| puts line end 実行結果 C:\>ruby "C:\study\SoftwareTools\1_1_ファイルのCOPY\lesson001.rb" ftwareTools\1_1_ファイルのCOPY\test.txt" 1. 手はじめに 1.1. ファイ…