number of different lines in a file

Paul McGuire ptmcg at
Fri May 19 21:25:37 CEST 2006

"Grant Edwards" <grante at> wrote in message
news:126s5l24kd7u19a at
> > Why would the second running of uniq remove any additional lines that
> > weren't removed in the first pass?
> Because uniq only removes _adjacent_ identical lines.

Thanks, guess my *nix ignorance is showing (this doesn't sound very "uniq"
to me, tho).

-- Paul

More information about the Python-list mailing list