From: ngoc Date: 2006-08-09T16:45:05+09:00 Subject: bug in ruby or bug in my brain? #!/usr/bin/ruby diff_file = File.open('diff.txt') diff_file.each { |line| next if line =~ /^Only/ system "dos2unix #{line.split(' and ').at(1).sub(' differ', '')}" } ->work well ------------------- #!/usr/bin/ruby diff_file = File.open('diff.txt') diff_file.each { |line| next if line =~ /^Only/ system("dos2unix", line.split(' and ').at(1).sub(' differ', '')) } ->problems with converting error message