in reply to Re: comparing lines in two files
in thread comparing lines in two files

It seems to me that will fail if saved_system.txt and current_system.txt are ordered differently.

Replies are listed 'Best First'.
Re^3: comparing lines in two files
by bobr (Monk) on Jan 01, 2010 at 12:22 UTC
    Agree completely, thats why I pointed that lists have to be sorted. Since this seems to be followup to storing all file info, I assumed that no problem make lists sorted on its creation.

    On any case, your solution below seems to be more elegant and independent on libraries.

    -- Roman

      sorry, I completely missed the bit about the lists being sorted