ruby (4)
Wednesday, March 26th, 2008old_inventory = File.open(’old-inventory.txt’ ).readlines
new_inventory = File.open(’new-inventory.txt’ ).readlines
puts “The following files have been added:”
puts new_inventory - old_inventory
puts “”
puts “The following files have been deleted:”
puts old_inventory - new_inventory (more…)