Python's simplicity philosophy

Ben Finney bignose-hates-spam at
Fri Nov 21 01:48:14 CET 2003

On Thu, 20 Nov 2003 17:02:17 -0800, Erik Max Francis wrote:
> man uniq on GNU:
>        Discard  all  but  one  of successive identical lines from
>        INPUT (or standard input), writing to OUTPUT (or  standard
>        output).
> This says nothing about sorting.

Sadly, the 'NAME' section does:

           uniq - remove duplicate lines from a sorted file

I suspect this is a source of confusion; certainly, it doesn't help.

 \        "Read not to contradict and confute, nor to believe and take |
  `\     for granted ... but to weigh and consider."  -- Francis Bacon |
_o__)                                                                  |
Ben Finney <>

More information about the Python-list mailing list