# File Sode.tmp.rb, line 2390
def echo_problem(infile,fname)
  echout = File.new("echout.rbi","w")
  echout.puts 'puts "##############ECHO OF PROBLEM#################"'
  echout.puts '$stderr.puts "##############ECHO OF PROBLEM#################"'
  echout.puts 'puts "##############" + "' + fname + '" +"#################"'
  echout.puts '$stderr.puts "###############" + "' + fname + '" + "}#################"'
  line = infile.gets
  line = line.chomp
  $stderr.puts "echo_problem line = #{line}"
  while line do
    echout.puts 'puts "' + "#{line}" + '"'
    echout.puts '$stderr.puts "' + "#{line}" + '"'
    line = infile.gets
    if line != nil then
      line = line.chomp
      if DEBUG == 1
        $stderr.puts "echo_problem line = #{line}"
      end
    end
  end
  echout.puts 'puts "#######END OF ECHO OF PROBLEM#################"'
  echout.puts '$stderr.puts "#######END OF ECHO OF PROBLEM#################"'
  echout.close
end