Output

var in = %f'input.txt'.open_r;
var out = %f'output.txt'.open_w;
 
in.each { |line|
    out.print(line);
};

Last updated