3 # Make sure the record separator is zero rather than new-line
6 # Create a set of backup dates
10 # Split each input record into 8 fields on spaces and grab the 7th as integer
11 date_array = ARGF.map { |rec| rec.split( ' ', 8 )[6].to_i }
13 # Merge the dates into the set
14 dates.merge date_array
16 # Output the sorted set