Hi,

I don't know but both caused an exception on my box by using random
diff.txt file.

In message "Re: bug in ruby or bug in my brain?"
    on Wed, 9 Aug 2006 16:45:05 +0900, ngoc <ngoc / yahoo.com> writes:
|
|#!/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