Python's simplicity philosophy
Ben Finney
bignose-hates-spam at and-benfinney-does-too.id.au
Thu Nov 20 17:01:52 EST 2003
On 21 Nov 2003 08:50:14 +1050, Ben Finney wrote:
> On 20 Nov 2003 16:25:08 +0100, Curt wrote:
>> curty at einstein:~$ man uniq
>>
>> NAME
>> uniq - remove duplicate lines from a sorted file
>
> Your OS needs a better 'man uniq', since that description doesn't say
> what the expected behaviour is with unsorted input. The GNU 'man uniq'
> doesn't mention sorted input, but applies to any input.
Bah, I spoke too soon; you're looking only at the 'NAME" section. Read
the 'DESCRIPTION' section and I'll bet it's clear what happens on
unsorted input.
--
\ "I went to court for a parking ticket; I pleaded insanity. I |
`\ said 'Your Honour, who in their right mind parks in the passing |
_o__) lane?'" -- Steven Wright |
Ben Finney <http://bignose.squidly.org/>
More information about the Python-list
mailing list