number of different lines in a file

Paul McGuire ptmcg at austin.rr._bogus_.com
Fri May 19 21:25:37 CEST 2006


"Grant Edwards" <grante at visi.com> wrote in message
news:126s5l24kd7u19a at corp.supernews.com...
> > 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