in reply to Re: Removing repeated lines from file
in thread Removing repeated lines from file

Your second solution is exactly what the propositions using a hash all do.

Makeshifts last the longest.

  • Comment on Re^2: Removing repeated lines from file

Replies are listed 'Best First'.
Re: Re^2: Removing repeated lines from file
by husker (Chaplain) on Jul 02, 2003 at 17:55 UTC
    It looked to me like they put the entire file contents in a hash. Mine only puts duplicate lines in the hash.