Python's simplicity philosophy

Aahz aahz at pythoncraft.com
Thu Nov 20 01:45:59 CET 2003


In article <mxTub.6341$sb4.2661 at newsread2.news.pas.earthlink.net>,
Andrew Dalke <adalke at mindspring.com> wrote:
>Paul Rubin:
>>
>> Uniq should only have to work on sorted lists.
>
>*shrug* Okay, that's different than the unix 'uniq' command.  I've
>needed the unix one more than I've needed yours.

Huh?!?!  uniq has always to my knowledge only worked on sorted input.
Reading the man page on two different systems confirms my knowledge.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Weinberg's Second Law: If builders built buildings the way programmers wrote 
programs, then the first woodpecker that came along would destroy civilization.




More information about the Python-list mailing list