Python's simplicity philosophy
Ben Finney
bignose-hates-spam at and-benfinney-does-too.id.au
Thu Nov 20 19:48:14 EST 2003
On Thu, 20 Nov 2003 17:02:17 -0800, Erik Max Francis wrote:
> man uniq on GNU:
>
> DESCRIPTION
> 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:
NAME
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 <http://bignose.squidly.org/>
More information about the Python-list
mailing list